Hausa News Topic Classification
Transfer-learning NLP classifier for low-resource Hausa news headlines across five topical domains.
Overview
Developed a low-resource natural language processing pipeline applying transfer learning to classify VOA Hausa news headlines into five structured categories: Nigeria, Africa, World, Health and Politics.
Problem Statement
African languages such as Hausa remain underrepresented in standard NLP benchmarks and pretrained tokenizers, causing off-the-shelf classifiers to struggle with orthography, morphological variation and domain vocabulary.
Technical Architecture
End-to-end Python data preparation, tokenization, transfer-learning fine-tuning and evaluation pipeline trained and evaluated on curated VOA Hausa headline corpora.
Corpus Preprocessing
Text normalization, label encoding and stratified splits across Nigeria, Africa, World, Health and Politics categories.
Transfer-Learning Classifier
Pretrained multilingual representation fine-tuned for 5-way low-resource headline classification.
Evaluation & Inference
Per-class precision/recall/F1 confusion analysis and interactive headline classification.
Technology Stack
Key Engineering Decisions & Challenges
Engineering Decisions
- Leveraged multilingual transfer learning rather than training from scratch to overcome limited labeled Hausa training volume.
- Audited per-category confusion between overlapping geopolitical classes (Nigeria vs Africa vs World).
Implementation Challenges
- Handling Hausa diacritics/hooked-letter normalization inconsistencies and named-entity overlap across regional news categories.
Testing Strategy & Demonstrated Outcomes
Testing & Verification
- Held-out stratified evaluation measuring macro/weighted F1 and confusion matrices across all five topical classes.
Demonstrated Outcomes
- Public open-source NLP codebase demonstrating practical low-resource Hausa text classification across five news domains.
Lessons Learned
- Careful orthographic normalization and confusion-matrix error analysis yield outsized gains in low-resource African language tasks.