https://github.com/justmirr/hate-speech-detection
Built using Python, Streamlit, and NLTK, the Hate Speech Detection App employs a Decision Tree Classifier for identifying hate speech in text. It features real-time speech input, NLP preprocessing, and a user-friendly Streamlit interface, offering both visual and text-to-speech result presentation.
https://github.com/justmirr/hate-speech-detection
count-vectorizer nltk python sklearn streamlit
Last synced: 2 months ago
JSON representation
Built using Python, Streamlit, and NLTK, the Hate Speech Detection App employs a Decision Tree Classifier for identifying hate speech in text. It features real-time speech input, NLP preprocessing, and a user-friendly Streamlit interface, offering both visual and text-to-speech result presentation.
- Host: GitHub
- URL: https://github.com/justmirr/hate-speech-detection
- Owner: justmirr
- Created: 2023-12-19T18:18:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-14T10:18:27.000Z (over 1 year ago)
- Last Synced: 2025-10-09T06:56:40.623Z (7 months ago)
- Topics: count-vectorizer, nltk, python, sklearn, streamlit
- Language: Python
- Homepage:
- Size: 2.57 MB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hate-speech-detection
This Hate Speech Detection App is a project that leverages a Decision Tree Classifier to identify hate speech in text. Built using Python, Streamlit, and NLTK, the app preprocesses text data with Natural Language Processing (NLP) techniques, applies a bag-of-words representation using CountVectorizer, and trains a Decision Tree Classifier. Users can input text for hate speech detection through a Streamlit interface, which also supports real-time speech input.
# Features:
1. Hate speech detection using a Decision Tree Classifier
2. NLP preprocessing for text data
3. User-friendly Streamlit interface
4. Visual and text-to-speech result presentation
# Getting Started
1. Clone the repository: "git clone https://github.com/justmirr/hate-speech-detection-app.git"
2. Install dependencies: "pip install -r requirements.txt"
3. Run the app: "streamlit run app.py"
# Usage
1. Enter text in the provided input box.
2. Click the "Detect Hate Speech" button.
3. View the result visually and hear the text-to-speech output.