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_categories:
|
| 10 |
+
- automatic-speech-recognition
|
| 11 |
+
tags:
|
| 12 |
+
- swahili
|
| 13 |
+
- kiswahili
|
| 14 |
+
- dholuo
|
| 15 |
+
- lubukusu
|
| 16 |
+
- lumarachi
|
| 17 |
+
- lulogooli
|
| 18 |
+
- kenyan-languages
|
| 19 |
+
- low-resource-languages
|
| 20 |
+
- african-languages
|
| 21 |
+
- speech-corpus
|
| 22 |
+
- spontaneous-speech
|
| 23 |
+
pretty_name: KenCorpus Audio
|
| 24 |
+
size_categories:
|
| 25 |
+
- n<1K
|
| 26 |
+
---
|
| 27 |
+
|
| 28 |
+
# KenCorpus Audio: A Kenyan Multilingual Spontaneous Speech Corpus
|
| 29 |
+
|
| 30 |
+
## Dataset Description
|
| 31 |
+
|
| 32 |
+
**KenCorpus Audio** is a multilingual spontaneous speech corpus for Kenyan languages. The recordings capture natural, unscripted speech from native speakers in their communities across diverse topics including culture, agriculture, commerce, health, and daily life.
|
| 33 |
+
|
| 34 |
+
Three languages were selected: **Kiswahili**, **Luhya** (dialects: Lumarachi, Logooli, Lubukusu), and **Dholuo**.
|
| 35 |
+
|
| 36 |
+
## Dataset Statistics
|
| 37 |
+
|
| 38 |
+
| Language | Files | Duration |
|
| 39 |
+
|----------|-------|----------|
|
| 40 |
+
| Dholuo | 512 | 99h 3m 8s |
|
| 41 |
+
| Lubukusu | 354 | 30h 11m |
|
| 42 |
+
| Swahili | 104 | 19h 10m 57s |
|
| 43 |
+
| Lumarachi | 138 | 15h 37m 46s |
|
| 44 |
+
| Logooli | 44 | 12h 26m 55s |
|
| 45 |
+
| **Total** | **1,152** | **176h 29m 46s** |
|
| 46 |
+
|
| 47 |
+
## Data Fields
|
| 48 |
+
|
| 49 |
+
| Column | Type | Description |
|
| 50 |
+
|--------|------|-------------|
|
| 51 |
+
| audio | Audio | Embedded audio waveform (decoded on load) |
|
| 52 |
+
| language | string | Language (Swahili, Dholuo, Lubukusu, Lumarachi, Logooli, Luhya_Bukusu, etc.) |
|
| 53 |
+
| genre | string | Genre (Culture, Agriculture, Commerce, Health, etc.) |
|
| 54 |
+
| source | string | Data source (Community, etc.) |
|
| 55 |
+
| title | string | Topic/title of the recording |
|
| 56 |
+
| story_id | string | Unique identifier matching the KenCorpus metadata |
|
| 57 |
+
| duration_seconds | int | Duration in seconds (from metadata) |
|
| 58 |
+
|
| 59 |
+
### Example Record
|
| 60 |
+
|
| 61 |
+
```python
|
| 62 |
+
{
|
| 63 |
+
'audio': {'path': '0001_swa.aac', 'array': array([...]), 'sampling_rate': 44100},
|
| 64 |
+
'language': 'Swahili',
|
| 65 |
+
'genre': 'Culture',
|
| 66 |
+
'source': 'Community',
|
| 67 |
+
'title': 'Masharti ya ndoa',
|
| 68 |
+
'story_id': '1',
|
| 69 |
+
'duration_seconds': 1303
|
| 70 |
+
}
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
---
|
| 74 |
+
|
| 75 |
+
## Usage
|
| 76 |
+
|
| 77 |
+
```python
|
| 78 |
+
from datasets import load_dataset
|
| 79 |
+
|
| 80 |
+
# Load the dataset
|
| 81 |
+
dataset = load_dataset("Kencorpus/KenCorpus_audio")
|
| 82 |
+
|
| 83 |
+
# Access a sample
|
| 84 |
+
sample = dataset['train'][0]
|
| 85 |
+
print(sample['language'])
|
| 86 |
+
print(sample['title'])
|
| 87 |
+
print(sample['audio']['sampling_rate'])
|
| 88 |
+
print(sample['audio']['array'][:10])
|
| 89 |
+
|
| 90 |
+
# Filter by language
|
| 91 |
+
dholuo = dataset['train'].filter(lambda x: x['language'] == 'Dholuo')
|
| 92 |
+
print(f"Dholuo recordings: {len(dholuo)}")
|
| 93 |
+
```
|
| 94 |
+
|
| 95 |
+
---
|
| 96 |
+
|
| 97 |
+
## Genres
|
| 98 |
+
|
| 99 |
+
Culture, Agriculture, Commerce, Health, Religion, News, Song, Story, and more.
|
| 100 |
+
|
| 101 |
+
---
|
| 102 |
+
|
| 103 |
+
## Data Collection
|
| 104 |
+
|
| 105 |
+
Spontaneous speech recordings were collected from native speakers in their respective language communities. Recordings capture natural, unscripted conversations and narratives.
|
| 106 |
+
|
| 107 |
+
## Dataset Curators
|
| 108 |
+
|
| 109 |
+
**Kiswahili:** Rose Felynix, Khalid Kitito, Dr. Benard Okal
|
| 110 |
+
**Dholuo:** Jotham Ondu Ajiki, Dr. Jackline Okello, Jonathan Muga, Mercy Lavinca Oduoll
|
| 111 |
+
**Luhya (Logooli):** Salano Odari, Dr. Phillip Lumwamu
|
| 112 |
+
**Luhya (Bukusu):** Mactilda Nekesa Makana, Mulwale Martin
|
| 113 |
+
**Luhya (Marachi):** Yonah Weunda
|
| 114 |
+
|
| 115 |
+
---
|
| 116 |
+
|
| 117 |
+
## Citation
|
| 118 |
+
|
| 119 |
+
```bibtex
|
| 120 |
+
@article{wanjawa2022kencorpus,
|
| 121 |
+
title={Kencorpus: A Kenyan Language Corpus of Swahili, Dholuo and Luhya for Natural Language Processing Tasks},
|
| 122 |
+
author={Wanjawa, Barack W. and Wanzare, Lilian D. and Indede, Florence and McOnyango, Owen and Ombui, Edward and Muchemi, Lawrence},
|
| 123 |
+
journal={arXiv preprint arXiv:2208.12081},
|
| 124 |
+
year={2022}
|
| 125 |
+
}
|
| 126 |
+
```
|
| 127 |
+
|
| 128 |
+
---
|
| 129 |
+
|
| 130 |
+
## Links
|
| 131 |
+
|
| 132 |
+
- **Research Paper**: https://arxiv.org/abs/2208.12081
|
| 133 |
+
- **Dataverse**: https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/KLCKL5
|
| 134 |
+
|
| 135 |
+
## License
|
| 136 |
+
|
| 137 |
+
**CC-BY-4.0**
|
| 138 |
+
|
| 139 |
+
## Acknowledgments
|
| 140 |
+
|
| 141 |
+
Part of the **Kencorpus** project for low-resource Kenyan language NLP resources.
|