AI news ·
Swahili speech recognition stumbles on Kenya's mixed-language reality
A 2026 preprint found a 3.24 percent word-error rate on clean Swahili recordings, but real Kenyan speech mixes English, Sheng, and noise that models still fail to parse.

When people read prepared Swahili text aloud, AI transcription works well. A March 2026 preprint from a team including a Harvard researcher reported a 3.24 percent word-error rate on Mozilla's Common Voice recordings. But that volunteer-recorded speech bears little resemblance to how Kenyans actually talk. They switch between Swahili and English mid-sentence, drop in Sheng slang that shifts by neighborhood, speak with accents shaped by their mother tongues, and contend with matatu noise on low-end phones. A separate 2026 preprint covering 20 African languages argues that this spontaneous, noisy, overlapping audio exposes a generalization gap that scaling laws built on English have not closed.
Voice has become a primary interface for many Kenyans, as WhatsApp voice notes and chatbot voice prompts gain traction in a country that ranks first globally on AI usage. But if a model cannot parse everyday speech, it excludes the people it was built to serve. "My iPhone's Siri is unable to follow my voice command in Sheng or Swahili," said Loise Lionah, a beautician in Nairobi. "ChatGPT tries to understand but gets the meaning wrong. The case is similar with Gemini and Claude."
The moving target of Swahili dialects and Sheng
Swahili, one of Kenya's two official languages alongside English, is spoken by more than 200 million people across 14 African countries. Tanzania is considered the home of standard Swahili. Yet Catherine Mangare, an AI and computing lecturer at Tanzania's Sokoine University of Agriculture and a Ph.D. candidate at Okayama University in Japan, said even there the standard is only the baseline. "Standard Kiswahili is a useful starting point," she said, "but Tanzanian speech varies by region and setting."
Sheng, understood by about 60 percent of Kenyans, adds another layer. This Swahili variant emerged among Nairobi's urban youth decades ago. It follows Swahili grammar but borrows from English, Kenyan mother tongues, Hindi, Spanish, and American slang, and it has no standard spelling. The Sheng word for "girl" fluctuates by generation, location, and social media trends. "Sheng itself is highly broken down per region," said Tehillah Kachila, founder and CEO of Nairobi-based Zabibu Technika, which builds the Fikra family of Swahili AI models. Kachila said the most recent Sheng dataset dates to 2019 - a major reason voice AI systems struggle with Sheng prompts.
Building datasets that capture real speech
The supply of recorded Swahili speech is growing. The African Next Voices project, backed by a US $2.2 million Gates Foundation grant, has recorded 9,000 hours across 18 languages. Lilian Wanzare, who leads the Kenyan component at Maseno University's Centre for Applied AI, said the project's Kenyan output is roughly 3,000 hours of transcribed speech. Google's Waxal corpus, launched in February 2026, adds more than 11,000 hours across 21 African languages, Swahili included.
Hours of audio do not guarantee coverage. Gilbert Korir, cofounder and CEO of Nairobi-based Swahili speech AI startup MsingiAI, said a large dataset can hide limited variation in speakers and recording conditions. The scarcest material is conversational speech that mixes languages. Cynthia Amol, a natural language processing researcher at Maseno University, said her team records unscripted speech for this reason. "Unscripted collection helps us capture more nuance and everyday word use, including natural code-switching."
Why Swahili trips up speech models
Swahili is agglutinative - words are built from stacked parts. "A single word can carry the negation, subject, tense, object, and action," Wanzare said. "For example, the word 'hajafika' means 'he has not arrived.'" The same root appears in many forms, giving models more variation to learn. Spelling compounds the problem. Human transcribers often spell borrowed words, Sheng terms, and dialect variants inconsistently. The Swahili word for computer can appear as "kompyuta," "compyuta," or "kompiuta." A paper coauthored by Wanzare addresses this by developing a pronunciation dictionary that maps written words to speech sounds using a consistent symbol set.
Code-switching creates further difficulty. "In everyday conversations in Tanzania, people often mix Kiswahili and English, known as Swanglish," Mangare said. "A voice system trained mostly on recordings in a single language gets little practice with those switches." The switch can fall inside a single word, such as "nita-check," which pairs the Swahili prefix for "I will" with an English verb. Mangare added that missing even a small part of a verb can change who did something or when. Accents introduce another layer. Someone might say "Kirimanjalo" for Kilimanjaro, or "nchanga" for "mchanga." A listener familiar with the accent may understand immediately, while a voice system trained on standard pronunciation may miss the word entirely.
Sheng's constant evolution makes data curation especially hard. "Sheng is quite dynamic," Wanzare said. "Words are formed and 'die' on a daily basis, which makes data curation for it quite challenging." Her team's PolitiKweli dataset, built from social-media text that switches languages, captures the language at one moment in time. "Datasets in Sheng must be living documents that can be updated as the language evolves," she said. Her group has not yet worked extensively on spoken Sheng.
Testing beyond the benchmarks
Background noise raises the difficulty further. "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," Wanzare said. Korir cautioned that suppressing noise can strip out useful speech. Performance metrics can also miss what users actually care about. "A transcript can be mostly correct but get a farmer's location or a payment amount wrong," Korir said. Wanzare added that a single benchmark score can hide how models perform across dialects, subject areas, genders, and ages.
Why this matters for education and research professionals
For researchers and educators working with language data, the Swahili case exposes a pattern that repeats across under-resourced languages: benchmark performance on clean, scripted speech says little about real-world usability. The gap between Common Voice recordings and Nairobi street conversation is not a Swahili-specific problem - it is a data-representation problem that affects any speech system deployed outside the lab. Researchers building or evaluating speech models should treat speaker diversity, recording conditions, and code-switching as first-order variables, not edge cases. Dataset size alone will not close the generalization gap if the recordings do not reflect how people actually speak.