NLP for African Languages

Duration
8 weeks
Investment
UGX 800,000
Certificate
Included
Teaching
Live online
Program Introduction
NLP for African Languages is an advanced, project-based course for developers, data scientists, researchers and language-technology practitioners in Uganda, East Africa and across Africa. Using practical examples in Luganda and Kiswahili (Swahili), learners will collect and document small datasets, normalize local-language and code-switched text, evaluate multilingual pretrained models, fine-tune text classifiers, examine speech-to-text requirements and assess machine-translation limitations. The course builds on Course 17, prepares learners for Course 26 and Course 35, and culminates in a small local-language NLP tool such as a Luganda-English sentiment classifier for customer feedback or social media comments.
Key Features & Benefits
• Uganda and East Africa context • Hands-on Luganda and Kiswahili examples • Low-resource NLP methods • Practical Python notebooks • Multilingual model fine-tuning • Responsible data collection and documentation • Speech and translation evaluation • Portfolio-ready capstone
Real-World Applications
• Analyse customer feedback and social media sentiment in local languages • Build language-aware tools for tourism and hospitality • Support public-service and civic feedback analysis • Develop agriculture information and advisory interfaces • Improve access to multilingual health information with human review • Monitor news and media topics • Prototype local-language chatbots, search and content classification • Conduct African-language NLP research and dataset development
Course outline and learning expectations
This is a tutor-led course. The outline shows what your tutor will cover; teaching materials and examinations are provided directly to enrolled students.
Live online
English (Uganda)
University · General Public
What you will learn
- Explain the major data, modelling and evaluation gaps in African-language NLP
- Design ethical data collection and annotation workflows for Luganda, Kiswahili and other low-resource languages
- Normalize spelling variation, code-switching, Unicode, emojis and noisy local-language text
- Evaluate mBERT, XLM-R and relevant African-focused alternatives for a defined task
- Fine-tune and assess a sentiment or text-classification model using suitable metrics and error analysis
- Identify key speech-to-text data, transcription and evaluation requirements for local languages
- Compare machine-translation tools and document bias, dialect, domain and quality limitations
- Build, document and present a reproducible local-language NLP capstone tool
Modules
- 1
African-language NLP landscape
Assess the current state of NLP for African languages and identify realistic opportunities and constraints
Language coverage and data gapsLow-resource NLP constraintsOpportunities in Uganda, East Africa and AfricaEthics, inclusion and community participation - 2
Building small local-language datasets
Plan and create small, well-documented datasets for practical local-language NLP tasks
Use-case definitionData sourcing for Luganda and KiswahiliConsent, licensing and privacyAnnotation guidelinesQuality checks and dataset documentation - 3
Text normalization for local languages
Prepare noisy, multilingual and code-switched text for modelling without removing important linguistic meaning
Unicode and encodingSpelling variants and dialectsTokenization and morphologyCode-switchingURLs, emojis, hashtags and noisy textReproducible preprocessing - 4
Multilingual pretrained models
Use multilingual pretrained models as baselines for African-language NLP tasks and evaluate their language coverage
mBERT and XLM-R foundationsTokenizers and language coverageHugging Face pipelinesBaseline experimentsAfrican-focused model alternativesModel selection under compute limits - 5
Fine-tuning for sentiment and classification
Fine-tune and evaluate a multilingual model for sentiment analysis or another local-language classification task
Label designTrain-validation-test splitsFine-tuning workflowClass imbalanceAccuracy, precision, recall and macro F1Confusion matrices and error analysis - 6
Speech-to-text considerations
Evaluate the data, linguistic and deployment issues that affect speech recognition for local languages
Audio collection and consentTranscription conventionsAccents, dialects and code-switchingNoise and recording conditionsWord error rate and character error rateHuman review and deployment limits - 7
Translation tools and limitations
Compare translation workflows for African languages and document where automated outputs require human review
Luganda-English and Kiswahili-English workflowsParallel data and evaluationBLEU, chrF and human evaluationBias and named entitiesDomain and dialect limitationsPost-editing and responsible use - 8
Capstone: local-language NLP tool
Build and present a small, reproducible NLP tool for an African-language use case
Problem definitionDataset cardModel training and evaluationSimple interface or APIDocumentation and demoCapstone presentation
Before you enroll
- Completion of Course:Introduction to Natural Language
- Intermediate Python programming
- Foundational machine learning knowledge
- Basic understanding of neural networks and text classification
- Ability to work with Jupyter notebooks and Git
What you need
- Computer with reliable internet access
- Python 3.10 or later
- Jupyter Notebook or Google Colab
- Git and GitHub
- Hugging Face Transformers and Datasets
- PyTorch
- scikit-learn
- pandas
- Visual Studio Code or another code editor
- Optional audio recording or editing tool for speech exercises
Frequently asked questions
More in Machine Learning

Introduction to Computer Vision

Speech Recognition & Voice AI for Local Languages

Big Data Fundamentals for AI

MLOps & AI Deployment at Scale

Ensemble Learning & Advanced Model Techniques

Version Control & Collaborative Coding with Git & GitHub
More for University · General Public

Dart Programming for Beginners in Uganda & East Africa

Advanced C Systems Programming Course – Africa

Advanced C# Programming in Uganda: Async, Generics & Performance

Advanced C++ Course Uganda – Performance and Concurrency

Advanced Computer Vision & Image Recognition

Advanced Dart Programming & Concurrency for Africa
Quick Actions
Need Help?
Have questions about this program? Our team is here to help!