--- 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