In this interview with Impact Newswire, Dr Lilian Wanzare, who leads the Maseno University’s Centre for Applied Artificial Intelligence (MCAAI) and Cynthia Amol, an NLP PhD researcher, discuss the technical, linguistic and economic barriers to building voice AI that understands how Kenyans actually speak. Drawing on MCAAI’s work on KenCorpus, KenSwQuAD, PolitiKweli and African Next Voices, they explain why commercial AI systems struggle with Kenyan languages, what their research reveals about the limitations of existing models, and what it will take to develop speech technologies that accurately represent the country’s linguistic diversity.

A Kenyan speaking Swahili mixed with English and Sheng over a mobile phone presents a difficult test for artificial intelligence. Add a regional accent, background noise from a matatu engine or inconsistent pronunciation, and even sophisticated speech recognition systems can struggle to transcribe the conversation accurately.
For researchers at Maseno University’s Centre for Applied Artificial Intelligence (MCAAI), these challenges expose a fundamental weakness in the development of commercial AI systems: their limited ability to understand the linguistic diversity and everyday speech patterns of African populations.
Led by Dr Lilian Wanzare and Cynthia Amol, MCAAI has been working to address these limitations through research into African language datasets, speech recognition, computational linguistics, tokenisation and misinformation detection. Its projects, including KenCorpus, KenSwQuAD and PolitiKweli, demonstrate how locally developed language resources can help build AI systems that better reflect the way Kenyans communicate.
One difficulty lies in the structure of Swahili itself. Unlike English, Swahili is an agglutinative language, meaning several grammatical elements can be combined into a single word. Standard tokenisers used in multilingual transformer models such as XLM-RoBERTa can split such words into fragments that do not correspond to their actual grammatical components.
MCAAI researchers have addressed this challenge through custom tokenisation approaches, including ensembles of pretrained tokenisers and morphological considerations. Their work has also extended to languages such as Kikuyu. These methods help models recognise meaningful word structures, although they cannot independently resolve the acoustic challenges of speech recognition, including regional pronunciation, accents and natural intonation.
The problem becomes more complicated when speakers move between formal Swahili, English and Sheng. Sheng has no universally accepted spelling system, and its vocabulary changes across neighbourhoods and generations. An expression popular among young Nairobi residents may have a different meaning elsewhere or disappear from everyday use within a few years.
MCAAI’s PolitiKweli project offers insight into this linguistic fluidity. Developed using Swahili-English code-switched content collected from X, the dataset was designed to support research into political misinformation detection. It captures how people combine languages in digital conversations, illustrating why datasets involving Sheng and code-switching must continually evolve. However, text-based research does not automatically translate into spoken language recognition, which must also account for pronunciation, rhythm and intonation.
The centre’s KenCorpus project represents another effort to address the shortage of Kenyan language resources. It assembled approximately 5.6 million words and 177 hours of speech covering Swahili, Dholuo and Luhya. Researchers used the material to develop resources for different computational language tasks, including part-of-speech tagging, translation and question answering. KenSwQuAD, for example, provides Swahili question-answering material derived from collected texts. A proof-of-concept speech recognition system developed through the research recorded an 18.87% word error rate, providing a historical research benchmark.
Building on these efforts, MCAAI’s participation in African Next Voices contributed to AfriVoices-KE, a collection of approximately 3,000 hours of transcribed speech from 4,777 speakers across five Kenyan languages: Dholuo, Kikuyu, Kalenjin, Maasai and Somali. The recordings combine scripted speech with spontaneous contributions, capturing differences in vocabulary, regional accents and everyday communication. Speakers were recruited through community networks, with geographical and dialect information recorded to improve representation.
The implications extend into healthcare, banking and public services. Misrecognising a drug name or medical instruction could compromise clinical documentation, while errors involving financial instructions could undermine confidence in automated banking services. MCAAI’s work on Kenyan medical terminology and drug names highlights the importance of developing domain-specific language resources rather than relying exclusively on general-purpose models.
The researchers are also examining how these systems can operate on affordable smartphones with limited memory and intermittent connectivity. Techniques such as quantisation and knowledge distillation can reduce model size and computing requirements, making on-device processing more practical, although developers must balance speed and affordability against recognition accuracy.
Beyond engineering, MCAAI’s research raises questions about who benefits from community-contributed language data. The centre is exploring community-centred licensing arrangements that could give contributors greater influence over commercial use and benefit-sharing, moving beyond conventional open-data models.
Faustine Ngila spoke with both Dr Lilian Wanzare and Cynthia Amol. Here is the full interview excerpt:
Interview With Dr Lilian Wanzare, Project Lead, Maseno Centre for Applied Artificial Intelligence (MCAAI)
1. Why does voice AI still struggle with how Kenyans actually speak, is the main gap in data, in modeling or in how Swahili itself is structured, and what do your years of work through the Maseno Centre for Applied Artificial Intelligence show about where commercial systems fail most?
The gap comes from both the data (availability of data in native languages and the complexity of the languages) and the models. Swahili is morphologically complex meaning words are built by joining several parts to a root. A single word can carry the negation, subject, tense, object and action. For example, the word ‘hajafika’ means ‘he has not arrived’. This word and sentence construction introduces complexity in the data since the same root appears in many different forms. Secondly, the way Kenyans speak Swahili every day is shaped by first-language accents, Sheng and code-switching with English. And lastly, Swahili also has multiple subtle dialects – differing in mainland and coastal regions in Kenya and also different countries, Tanzania, Kenya, Congo, among others.
This would mean that to do proper modeling, one would need Swahili data in different contexts, domains, speaker demographics and across different Swahili regional variants to capture the various nuances. Models trained mainly on languages with simpler word structure, such as English may not reflect this complexity, and models exposed to little or no Swahili data do not perform well. Commercial models that do not capture these unique word constructions or formations and the variants, may still fail. In our experience at MCAAI, training on a large corpora across multiple dialects and domains helps capture most of the vocabulary, code-switching, Swahili slang and the natural ways different ideas are presented. For speech synthesis, models adapted from state-of-the-art models without language adaptation can be quite robotic because they do not capture natural intonation.
2. Swahili is agglutinative, with words built from stacked grammatical blocks, so how badly do standard subword tokenizers and global models cope with it, what did integrating morphological rules into transformers like XLM-RoBERTa actually improve, and does that approach carry over from text to speech?
Tokenisation of morphologically complex languages such as Swahili is challenging, since standard subword tokenisers split words based on frequency. The tokeniser of models such as XLM-RoBERTa often splits Swahili words into pieces that do not match the actual natural word parts, which necessitates building custom tokenisers. Integrating morphological rules helps the tokeniser split words at the right boundaries.
Previous work at MCAAI has built custom tokenisers as an ensemble of different pretrained tokenisers, combining the advantages of each, and has applied the same approach to other languages such as Kikuyu. The use of morphological rules only partly carries over to speech since speech models first learn from sound and the tokeniser only comes in at the output, where the model writes the words. Using word parts as output units helps the model handle long and rare word forms, but it does not fix challenges on the acoustic side such as accents and intonation.
3. How did you design a phonemic transcription framework for Swahili speech-to-text, what problems does it solve that standard transcription misses, and how well does it handle borrowed English words and Sheng terms that do not follow Swahili sound patterns?
In past projects, we have used standard transcripts by human annotators. These rely on each transcriber’s own vocabulary skills which may not be standard across transcribers. This introduced orthographic inconsistencies, where the same word was spelt differently across the dataset, especially for borrowed English words, Sheng terms and dialect variants. An example is the word ‘kompyuta’, meaning ‘computer’, which is often spelt as ‘kompyuta’, ‘compyuta’ or ‘kompiuta’. We consider a phonemic transcription framework as a solution to these inconsistencies.
It would write each word based on how it sounds, using a consistent set of symbols that every transcriber follows. Swahili spelling is already close to how it is spoken, which would make the framework straightforward for native words. Borrowed English words and Sheng terms would be more challenging, since they often carry sounds outside the five Swahili vowels and native sound patterns. The framework would handle these by transcribing them as they are actually pronounced by the speaker, rather than in their English spelling. Borrowed words are discussed and agreed upon but Sheng/slang is quite complex as it varies depending on location (rural/urban) and changes rapidly with little documentation.
4. Sheng moves fast and varies by neighborhood and generation, so can a model ever keep up with it, how did you handle that fluidity when building PolitiKweli from Swahili-English code-switched Twitter (X) data, and how does text-based Sheng work transfer to spoken Sheng?
Sheng is quite dynamic. Words are formed and ‘die’ on a daily basis, which makes data curation for it quite challenging. It also lacks a standard orthography, since it grows as a predominantly spoken language. The PolitiKweli dataset captures Sheng and code-switching at that instance in time, and we included this as a limitation. Datasets in Sheng must be living documents that can be updated as the language evolves.
The development of models using methodologies such as continual learning also allows models to keep up by updating them with new data over time. Text-based Sheng work only partly transfers to spoken Sheng. Text helps the model learn new words and how they are used, but spoken Sheng carries pronunciation and intonation that text does not capture. We have so far not worked extensively as part of modeling Swahili language.
5. KenCorpus and KenSwQuAD gave Swahili, Dholuo and Luhya human-annotated resources, so how did you collect and quality-check the data, how much usable labeled speech now exists compared with English, and what are the hardest languages and dialects to fill in?
KenCorpus was our flagship large-scale dataset collection project. It combined primary data collection from schools and communities, including stories written by participants, with secondary sources from partners such as media houses and publishers. The corpus holds about 5.6 million words of text and 177 hours of speech in Swahili, Dholuo and Luhya. From this, we developed task-specific sets: part-of-speech (POS) tagging for Dholuo and Luhya, question-answer (QA) pairs from Swahili texts, and translations of texts into Swahili, with the QA set released as KenSwQuAD.
We have used the lessons and methodologies from KenCorpus in other projects such as African Next Voices, which resulted in the AfriVoices-KE dataset which is a collection of approx 3000 hrs of transcribed speech datasets for 5 Kenyan languages . The hardest dialects to fill in are those with very few speakers, or those whose communities have been assimilated into other languages, such as Suba, so finding a standard, correct way to write them becomes challenging.
Interview With Cynthia Amol, NLP PhD Researcher, Maseno University
6. Through African Next Voices you lead grassroots speech collection drives, so how do you recruit speakers and capture regional accents and everyday code-switching, how do you handle consent, compensation and data ownership with communities, and who benefits from the datasets once they exist?
Data collection for the African Next Voices project was in two forms: scripted, where contributors read out a set of texts verbatim, and unscripted, where contributors recorded monologues answering open-ended questions. Unscripted collection helps us capture more nuance and everyday word use, including natural code-switching. Speakers were recruited via resource persons in the community, such as teachers, as well as community leaders who acted as champions for the project. Recruitment was balanced geographically to capture regional accents, and metadata such as the speaker’s dialect and region was recorded with each contribution.
Informed consent was taken as part of sign-up for the project and during training sessions for data collection. Compensation is on a work-completed basis, but it cannot fully reflect the value of the language and culture that contributors share. From conversations with communities, we have started more efforts to address community-centred licensing beyond Creative Commons, where communities have a say in commercial use and share in the benefits. The datasets are released openly to be used by all communities, and as part of data collection, we create upskilling opportunities for data curators to gain skills beyond curation, on how to use the data for analysis and modelling.
7. How much does background noise, such as matatu engines, market chatter, street traffic and cheap phone microphones, degrade accuracy for Swahili, Sheng and Kenyan-accented English, what training or filtering techniques work best, and is noisy code-switched speech harder than monolingual speech?
Background noise is a double-edged sword when it comes to training speech models. For practical use cases such as advisory services, it helps train and evaluate models under the same conditions of use. However, its effect on speech-to-text transcription accuracy is evident. Depending on the test case and desired environment, we use noise augmentation, where background noise is added to clean recordings during training, or denoising before transcription. Noisy code-switched speech is harder than monolingual speech, because the model has to handle both the noise and the switch between languages at the same time.
8. How do you measure real progress, are word error rate and character error rate enough for code-switched, accented and noisy speech, what do current benchmarks miss, and do models that score well on clean test sets fall apart in the field?
Word error rate (WER) and character error rate (CER) are essential in validating a model during training. However, for code-switched, accented and noisy speech, especially in linguistically complex languages, the high word insertion rates among many models may result in unusually high WER and CER. In the field, contextualisation is one important aspect not accurately measured by WER and CER, which only measure word-by-word transcription.
Current benchmarks also report a single aggregate score, which hides how models perform across dialects, domains, gender and age. Models that score well on clean test sets can sometimes perform worse in the field, where speech is spontaneous, accented and noisy. At MCAAI, we are working on alternative evaluation pipelines that address these gaps.
9. What does it take to deploy these systems on budget Android phones with patchy internet, how do you balance accuracy, latency and compute cost, can your models run on-device, and who pays for compute when the intended users are low-income?
Much of our work has been centred around language resource curation, and deployment is essential to make these resources useful to communities. Edge deployment has been a very recent requirement for our models. Building under low-resource settings means that models must be small enough to run on budget phones with small memories. Developing for offline use is another requirement, so that users can still access the service when connectivity is patchy.
Balancing accuracy, latency and compute cost often means making models smaller through techniques such as quantisation and distillation, which reduce size and speed up responses at some cost to accuracy. We have been experimenting with models running on-device as a practical solution to patchy internet and to compute costs, which matters for solutions targeting low-income users.
10. Who is left out if this is not fixed, how do your clinical work on Kenyan medical jargon and drug names and the misinformation detection in PolitiKweli show the stakes in health and public discourse, what are global tech companies getting wrong about African languages, and what would closing the gap look like for Kenya in the next two years?
The stereotypical notion that Africa is a single country often seeps into resource development for its languages. For global tech companies, including one or two African languages in model development is considered building an Afro-centric model. However, linguistic differences such as dialectal variation, morphology and code-switching are subtle elements that distinguish a model that performs well on paper from a real, practically deployable model. Impact is measured more on use and adoption of models in day to day situations and acceptance goes beyond simple “good” WER. If this is not fixed, speakers of minority languages and dialects are left out, with real risks in areas such as health and public discourse, where mistranscribed medical terms or undetected misinformation cause harm.
Capturing language as it is spoken in practical settings is essential for developing useful models. Data collection work must be targeted, going beyond general web scraping to intentionally sourcing high-quality, domain-specific and region-specific datasets that can be used for training and evaluation. The main challenge is the cost of primary data collection. One possible solution is to come up with frameworks for sharing data by organizations that in their day to day collect language data like radio stations or NGOs in the field. Another idea is to come up with a stakeholder driven Kenyan language where these organizations with data can share this within agreed terms and allow the ecosystem to benefit while having commercialization agreements with international players. The next two years should also include policy changes towards more sovereign AI and fair evaluation of models.
Stay ahead of the Stories shaping our world. Subscribe to Impact Newswire and join our
WhatsApp Channel for updates on global tech, business, and innovation—all in one place.
Dive deeper into the future with the Cause Effect 4.0 Podcast, where we explore the ideas, trends, and technologies driving the global AI conversation.
Got a story to share? Contact Us to reach a global audience with Impact Newswire.
Faustine Ngila is the AI Editor at Impact Newswire, based in Nairobi, Kenya. He is an award-winning journalist specializing in artificial intelligence, blockchain, and emerging technologies.
He previously worked as a global technology reporter at Quartz in New York and Digital Frontier in London, where he covered innovation, startups, and the global digital economy.
With years of experience reporting on cutting-edge technologies, Faustine focuses on AI developments, industry trends, and the impact of technology on society.
Discover more from Impact Newswire
Subscribe to get the latest posts sent to your email.

