File size: 617 Bytes
4a2bdba
8ad9255
 
 
 
4a2bdba
 
 
 
8ad9255
 
 
 
 
 
 
 
 
 
 
aeeb6c8
 
 
 
8ad9255
 
 
 
 
aeeb6c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
title: HateShield Backend
emoji: 🛡️
colorFrom: blue
colorTo: purple
sdk: docker
pinned: false
---

# HateShield Backend API

Bilingual hate speech detection system using ensemble ML models.

## Features
- English & Bengali hate speech detection
- Document analysis (PDF, DOCX, TXT)
- URL content scraping
- Real-time confidence scoring

## API Endpoints
- `POST /analyze/text` - Analyze text input
- `POST /analyze/url` - Analyze URL content
- `POST /analyze/document` - Analyze uploaded documents
- `GET /health` - Health check

## Tech Stack
- FastAPI
- Transformers (Hugging Face)
- scikit-learn
- PyTorch