File size: 3,717 Bytes
046db0a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
---
language:
  - sw
  - luo
  - bxk
  - lri
  - rag
license: cc-by-4.0
task_categories:
  - automatic-speech-recognition
tags:
  - swahili
  - kiswahili
  - dholuo
  - lubukusu
  - lumarachi
  - lulogooli
  - kenyan-languages
  - low-resource-languages
  - african-languages
  - speech-corpus
  - spontaneous-speech
pretty_name: KenCorpus Audio
size_categories:
  - n<1K
---

# KenCorpus Audio: A Kenyan Multilingual Spontaneous Speech Corpus

## Dataset Description

**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.

Three languages were selected: **Kiswahili**, **Luhya** (dialects: Lumarachi, Logooli, Lubukusu), and **Dholuo**.

## Dataset Statistics

| Language | Files | Duration |
|----------|-------|----------|
| Dholuo | 512 | 99h 3m 8s |
| Lubukusu | 354 | 30h 11m |
| Swahili | 104 | 19h 10m 57s |
| Lumarachi | 138 | 15h 37m 46s |
| Logooli | 44 | 12h 26m 55s |
| **Total** | **1,152** | **176h 29m 46s** |

## Data Fields

| Column | Type | Description |
|--------|------|-------------|
| audio | Audio | Embedded audio waveform (decoded on load) |
| language | string | Language (Swahili, Dholuo, Lubukusu, Lumarachi, Logooli, Luhya_Bukusu, etc.) |
| genre | string | Genre (Culture, Agriculture, Commerce, Health, etc.) |
| source | string | Data source (Community, etc.) |
| title | string | Topic/title of the recording |
| story_id | string | Unique identifier matching the KenCorpus metadata |
| duration_seconds | int | Duration in seconds (from metadata) |

### Example Record

```python
{
    'audio': {'path': '0001_swa.aac', 'array': array([...]), 'sampling_rate': 44100},
    'language': 'Swahili',
    'genre': 'Culture',
    'source': 'Community',
    'title': 'Masharti ya ndoa',
    'story_id': '1',
    'duration_seconds': 1303
}
```

---

## Usage

```python
from datasets import load_dataset

# Load the dataset
dataset = load_dataset("Kencorpus/KenCorpus_audio")

# Access a sample
sample = dataset['train'][0]
print(sample['language'])
print(sample['title'])
print(sample['audio']['sampling_rate'])
print(sample['audio']['array'][:10])

# Filter by language
dholuo = dataset['train'].filter(lambda x: x['language'] == 'Dholuo')
print(f"Dholuo recordings: {len(dholuo)}")
```

---

## Genres

Culture, Agriculture, Commerce, Health, Religion, News, Song, Story, and more.

---

## Data Collection

Spontaneous speech recordings were collected from native speakers in their respective language communities. Recordings capture natural, unscripted conversations and narratives.

## Dataset Curators

**Kiswahili:** Rose Felynix, Khalid Kitito, Dr. Benard Okal
**Dholuo:** Jotham Ondu Ajiki, Dr. Jackline Okello, Jonathan Muga, Mercy Lavinca Oduoll
**Luhya (Logooli):** Salano Odari, Dr. Phillip Lumwamu
**Luhya (Bukusu):** Mactilda Nekesa Makana, Mulwale Martin
**Luhya (Marachi):** Yonah Weunda

---

## Citation

```bibtex
@article{wanjawa2022kencorpus,
  title={Kencorpus: A Kenyan Language Corpus of Swahili, Dholuo and Luhya for Natural Language Processing Tasks},
  author={Wanjawa, Barack W. and Wanzare, Lilian D. and Indede, Florence and McOnyango, Owen and Ombui, Edward and Muchemi, Lawrence},
  journal={arXiv preprint arXiv:2208.12081},
  year={2022}
}
```

---

## Links

- **Research Paper**: https://arxiv.org/abs/2208.12081
- **Dataverse**: https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/KLCKL5

## License

**CC-BY-4.0**

## Acknowledgments

Part of the **Kencorpus** project for low-resource Kenyan language NLP resources.