Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

olaifahabeeb-ola/naija-hatescan

Domain:

natural language processing

Record type:

software
Creator:
ola
Host:
# Naija HateScan 🛡️ ### Multilingual Hate Speech Detection System for Nigerian Social Media > **HND Final Year Project** — Federal Polytechnic Offa, Department of Computer Science & Information Technology --- ## Overview **Naija HateScan** is a web-based machine learning system that automatically classifies Nigerian social media posts as **Hate Speech**, **Offensive**, or **Neutral** content. It supports five language varieties: | Language | Notes | |---|---| | English | Nigerian Standard English | | Nigerian Pidgin | Nigerian Creole (code-mixed) | | Yoruba | Southwest Nigeria | | Hausa | Northern Nigeria | | Igbo | Southeast Nigeria | The classifier uses character-level TF-IDF n-gram features with Logistic Regression, making it effective even on code-mixed text where words switch between languages mid-sentence. --- ## Features - **Single-text analysis** with AJAX (no page reload) and inline results - **Batch analysis** — paste up to 100 posts or upload a CSV file - **Severity scoring** — Mild / Moderate / Severe for each harmful post - **Target detection** — Ethnic / Religious / Political / General targeting - **Plain-language explanations** and flagged term highlighting - **Analysis history** with filter, pagination, and per-record delete - **Analytics dashboard** — Chart.js charts for trends, languages, severity - **PDF export** via ReportLab for individual analysis reports - **Auto language detection** with Nigerian variety bias - **No user authentication** — single public-facing tool --- ## Tech Stack | Layer | Technology | |---|---| | Backend | Python 3.10+, Flask 3.x | | Database | SQLite via Flask-SQLAlchemy | | ML | Scikit-learn (TF-IDF + Logistic Regression) | | Language ID | langdetect + custom keyword voting | | Frontend | Bootstrap 5.3, Chart.js 4, Font Awesome 6 | | PDF | ReportLab 4.x | | Model Persistence | joblib | --- ## Project Structure ``` naija_hatescan/ ├── app.py # Flask app, routes, Analysis DB model ├── con …

Visit

github.com

Tasks

hate speech detectionlanguage identificationtext classification

Languages

HausaYoruba

Similar

Lekan-ola/Lassa-Fever-2025Lekan-ola/Time-Series-Analysiscercuit-ola/African-AI-Policy-TrackerNaija-Guru/naija-guru-webAesthetics of Cultures: The Yoruba Culture in Ola Rotimi's The Gods Are Not to Blame KĂĽltĂĽrlerin EstetiÄźi: Ola Rotimi'nin The Gods Are Not to Blame'inde Yoruba KĂĽltĂĽrĂĽLexical prosody in Naija La prosodie lexicale en Naija

Lekan-ola/Lassa-Fever-2025

Tableau dashboard analyzing Nigeria’s 2025 Lassa Fever outbreak using NCDC data. Includes state-leve

Lekan-ola/Time-Series-Analysis

Time Series Analysis of Infant mortality rate in Nigeria # Time-Series-Analysis Time Series Analysi

cercuit-ola/African-AI-Policy-Tracker

# 🌍 African AI Policy Tracker > A public database and dashboard monitoring AI legislation, regulato

Naija-Guru/naija-guru-web

Naija Guru web apps: spell checker, translator, etc. Naija Spell Checker ## Getting Star

Aesthetics of Cultures: The Yoruba Culture in Ola Rotimi's The Gods Are Not to Blame KĂĽltĂĽrlerin EstetiÄźi: Ola Rotimi'nin The Gods Are Not to Blame'inde Yoruba KĂĽltĂĽrĂĽ

In the face of world power tussle, many cultures today are endangered and threatened. As some have b

Lexical prosody in Naija La prosodie lexicale en Naija

Prosodic typological classification of hybrid languages like Naija has propelled endl