Introduction to Natural Language Processing

Duration
6 weeks
Investment
UGX 550,000
Certificate
Included
Teaching
Live online
Program Introduction
Introduction to Natural Language Processing introduces practical methods for turning human language into data that computers can analyse. Learners use Python to clean and tokenise text, create bag-of-words and TF-IDF features, build introductory sentiment and text-classification models, and explore word embeddings. Examples are designed for Uganda, East Africa and wider African contexts, including customer WhatsApp and SMS messages, limited labelled datasets, spelling variation and code-switching. The course concludes with a carefully evaluated complaint-categorisation prototype for a small business.
Key Features & Benefits
• Hands-on Python notebooks for practical NLP • Uganda, East Africa and Africa-focused text examples • Text cleaning, tokenisation, bag-of-words and TF-IDF • Sentiment analysis and text-classification practice • Introduction to word embeddings and semantic similarity • Guidance for limited datasets, spelling variation and code-switching • Privacy-aware handling of customer messages • Capstone WhatsApp and SMS complaint classifier • Preparation for Course 25 and Course 35
Real-World Applications
• Categorise customer WhatsApp and SMS complaints for small businesses • Route customer-support messages for telecom, banking, fintech, tourism, retail and public services • Detect spam or unwanted messages • Analyse sentiment in customer feedback, surveys and service reviews • Organise NGO, education and community-service enquiries • Build introductory text analytics prototypes for English and selected African-language datasets • Prepare for advanced study in NLP, machine learning and applied AI
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)
Beginner
University · General Public
What you will learn
- Explain natural language processing and how text is represented as data
- Clean and normalise text while avoiding the removal of useful meaning
- Tokenise text and prepare reproducible text-processing workflows
- Create and interpret bag-of-words, n-gram and TF-IDF features
- Build and evaluate an introductory sentiment-analysis model
- Train text classifiers for spam detection and complaint categorisation
- Explain word embeddings and use basic similarity measures
- Identify practical challenges in African-language NLP, including limited datasets, spelling variation, morphology and code-switching
- Apply privacy, anonymisation and human-review principles when working with customer messages
- Build, evaluate and present a WhatsApp or SMS complaint-categorisation prototype
Modules
- 1
NLP Foundations — Text as Data
Understand what NLP is, how computers represent language and where text analytics is used in Uganda, East Africa and Africa
Natural language processing conceptsText as structured and unstructured dataCommon NLP tasksDocuments, sentences and tokensUnicode textRegional use casesPrototype versus production systems - 2
Text Cleaning and Tokenisation
Prepare text consistently while preserving information that may matter for the task
Lowercasing and case preservationWhitespace and punctuationURLs, phone numbers, emojis and hashtagsStop wordsStemming and lemmatisationWord and sentence tokenisationHandling spelling variationAvoiding over-cleaning - 3
Bag-of-Words and TF-IDF
Convert text into numerical features for classical machine learning
Vocabulary buildingCountVectorizerBag-of-words matricesUnigrams and n-gramsSparse matricesTF-IDF weightingFeature inspectionTrain-test separation - 4
Sentiment Analysis Basics
Build and assess a basic model for positive, negative or neutral text
Defining sentiment labelsLexicon and machine-learning approachesPreparing labelled examplesBaseline classifiersNegation and contextAccuracy, precision, recall and F1-scoreBias and error analysis - 5
Text Classification — Spam and Complaints
Create reusable pipelines that assign messages to practical categories
Problem and label definitionSpam detectionComplaint categoriesNaive BayesLogistic regressionLinear support vector machineScikit-learn pipelinesClass imbalanceConfusion matrixHuman review of uncertain cases - 6
Introduction to Word Embeddings
Develop intuition for representing words as dense vectors and measuring similarity
From sparse to dense representationsDistributional meaningPre-trained embeddingsCosine similarityNearest wordsVisualising vectorsOut-of-vocabulary wordsBias and limitations - 7
African-Language Text Challenges
Evaluate the practical limits of NLP when data, tools and language coverage are uneven
Limited labelled datasetsEnglish and African-language code-switchingDialect and spelling variationRich morphologyTokenisation challengesDataset documentationWorking with language speakersTransfer limitsResponsible claims - 8
Capstone — Customer Complaint Classification Tool
Build and present a prototype that categorises anonymised WhatsApp or SMS complaints for a small business
Define useful categoriesCreate or select anonymised sample messagesClean and label dataBuild a TF-IDF classification pipelineEvaluate resultsReview misclassificationsDocument privacy and model limitationsCreate a simple notebook or interfacePresent the prototype
Before you enroll
- Successful completion of Introduction to Deep Learning & Neural Networks or equivalent knowledge
- Comfort writing and running Python code
- Basic understanding of supervised learning and model evaluation
What you need
- Laptop or desktop computer
- Reliable internet connection
- Python 3
- Jupyter Notebook or Google Colab
- pandas
- NumPy
- scikit-learn
- NLTK
- spaCy
- Gensim
- Matplotlib
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!