# Kencorpus: A Kenyan Language Corpus of Swahili, Dholuo and Luhya for Natural Language Processing Tasks

arXiv: https://arxiv.org/abs/2208.12081 · HTML: https://mlsanity.com/paper/2208.12081/

## Key facts

- Cited by 9 papers in the map (data through 14 Oct 2026).
- Builds on 15 of its 87 references that are in the map.
- First posted on arXiv 25 Aug 2022.

## Builds on (most cited first, 15 of 15)

- [SQuAD: 100,000+ Questions for Machine Comprehension of Text](https://mlsanity.com/paper/1606.05250/) (2016)
- [No Language Left Behind: Scaling Human-Centered Machine Translation](https://mlsanity.com/paper/2207.04672/) (2022)
- [Cross-lingual Language Model Pretraining](https://mlsanity.com/paper/1901.07291/) (2019)
- [TyDi QA: A Benchmark for Information-Seeking Question Answering in Typologically Diverse Languages](https://mlsanity.com/paper/2003.05002/) (2020)
- [Participatory Research for Low-resourced Machine Translation: A Case Study in African Languages](https://mlsanity.com/paper/2010.02353/) (2020)
- [MasakhaNER: Named Entity Recognition for African Languages](https://mlsanity.com/paper/2103.11811/) (2021)
- [Masakhane -- Machine Translation For Africa](https://mlsanity.com/paper/2003.11529/) (2020)
- [KINNEWS and KIRNEWS: Benchmarking Cross-Lingual Text Classification for Kinyarwanda and Kirundi](https://mlsanity.com/paper/2010.12174/) (2020)
- [AI4D -- African Language Program](https://mlsanity.com/paper/2104.02516/) (2021)
- [A Focus on Neural Machine Translation for African Languages](https://mlsanity.com/paper/1906.05685/) (2019)
- [Investigating an approach for low resource language dataset creation, curation and classification: Setswana and Sepedi](https://mlsanity.com/paper/2003.04986/) (2020)
- [KenSwQuAD -- A Question Answering Dataset for Swahili Low Resource Language](https://mlsanity.com/paper/2205.02364/) (2022)
- [Neural Machine Translation for Extremely Low-Resource African Languages: A Case Study on Bambara](https://mlsanity.com/paper/2011.05284/) (2020)
- [The Makerere Radio Speech Corpus: A Luganda Radio Corpus for Automatic Speech Recognition](https://mlsanity.com/paper/2206.09790/) (2022)
- [Language Modeling with Highway LSTM](https://mlsanity.com/paper/1709.06436/) (2017)

## Built on by (most cited first, 9 of 9)

- [HaVQA: A Dataset for Visual Question Answering and Multimodal Research in Hausa Language](https://mlsanity.com/paper/2305.17690/) (2023)
- [Bilex Rx: Lexical Data Augmentation for Massively Multilingual Machine Translation](https://mlsanity.com/paper/2303.15265/) (2023)
- [State of NLP in Kenya: A Survey](https://mlsanity.com/paper/2410.09948/) (2024)
- [The NaijaVoices Dataset: Cultivating Large-Scale, High-Quality, Culturally-Rich Speech Data for African Languages](https://mlsanity.com/paper/2505.20564/) (2025)
- [The Esethu Framework: Reimagining Sustainable Dataset Governance and Curation for Low-Resource Languages](https://mlsanity.com/paper/2502.15916/) (2025)
- [Phonemic Representation and Transcription for Speech to Text Applications for Under-resourced Indigenous African Languages: The Case of Kiswahili](https://mlsanity.com/paper/2210.16537/) (2022)
- [AfriVoices-KE: A Multilingual Speech Dataset for Kenyan Languages](https://mlsanity.com/paper/2604.08448/) (2026)
- [SwaQuAD-24: QA Benchmark Dataset in Swahili](https://mlsanity.com/paper/2410.14289/) (2024)
- [The African Languages Lab: A Collaborative Approach to Advancing Low-Resource African NLP](https://mlsanity.com/paper/2510.05644/) (2025)

## Abstract (arXiv)

Indigenous African languages are categorized as under-served in Natural Language Processing. They therefore experience poor digital inclusivity and information access. The processing challenge with such languages has been how to use machine learning and deep learning models without the requisite data. The Kencorpus project intends to bridge this gap by collecting and storing text and speech data that is good enough for data-driven solutions in applications such as machine translation, question answering and transcription in multilingual communities. The Kencorpus dataset is a text and speech corpus for three languages predominantly spoken in Kenya: Swahili, Dholuo and Luhya. Data collection was done by researchers from communities, schools, media, and publishers. The Kencorpus' dataset has a collection of 5,594 items - 4,442 texts (5.6M words) and 1,152 speech files (177hrs). Based on this data, Part of Speech tagging sets for Dholuo and Luhya (50,000 and 93,000 words respectively) were developed. We developed 7,537 Question-Answer pairs for Swahili and created a text translation set of 13,400 sentences from Dholuo and Luhya into Swahili. The datasets are useful for downstream machine learning tasks such as model training and translation. We also developed two proof of concept systems: for Kiswahili speech-to-text and machine learning system for Question Answering task, with results of 18.87% word error rate and 80% Exact Match (EM) respectively. These initial results give great promise to the usability of Kencorpus to the machine learning community. Kencorpus is one of few public domain corpora for these three low resource languages and forms a basis of learning and sharing experiences for similar works especially for low resource languages.
