AI model that detects toxic vs safe text including African languages using NLP
# Toxic Text Classifier
This project is a simple AI model that detects whether text is toxic or safe.
## 🚀 Features
- Text classification using machine learning
- TF-IDF vectorization
- Logistic Regression model
## 🧠 Tech Stack
- Python
- Scikit-learn
- Pandas
- Google Colab
## 📊 Example Predictions
You are stupid,toxic
I like your work,safe
Good morning friend,safe
You are ugly and nobody likes you,toxic
Woyɛ kwasia,toxic
Meda wo ase,safe
Wo ho yɛ fɛ,safe
Kɔ fie you idiot,toxic
Well done wo yɛ adeɛ yiye,safe
Nobody likes you woyɛ ɔhaw,toxic
God bless you Onyame nhyira wo,safe
## 📸 Screenshots
## 📁 Files
- `data.csv` → dataset
- `model.ipynb` → training notebook
## 🏁 How to Run
1. Open notebook in Google Colab
2. Upload dataset
3. Run all cells