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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
---
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- lg
|
| 4 |
+
- sw
|
| 5 |
+
license: cc0-1.0
|
| 6 |
+
multilinguality:
|
| 7 |
+
- multilingual
|
| 8 |
+
task_categories:
|
| 9 |
+
- text-to-speech
|
| 10 |
+
- automatic-speech-recognition
|
| 11 |
+
pretty_name: Luganda-Swahili Speaker-Clustered TTS Dataset
|
| 12 |
+
size_categories:
|
| 13 |
+
- 10K<n<100K
|
| 14 |
+
tags:
|
| 15 |
+
- tts
|
| 16 |
+
- speech
|
| 17 |
+
- luganda
|
| 18 |
+
- swahili
|
| 19 |
+
- kiswahili
|
| 20 |
+
- low-resource
|
| 21 |
+
- african-languages
|
| 22 |
+
---
|
| 23 |
+
|
| 24 |
+
# Luganda-Swahili Speaker-Clustered TTS Dataset
|
| 25 |
+
|
| 26 |
+
## Dataset Summary
|
| 27 |
+
|
| 28 |
+
A cleaned, speaker-labeled text-to-speech (TTS) dataset covering **Luganda** and **Kiswahili**, derived from the [Luganda-Swahili Speech for Text-to-Speech Synthesis](https://www.kaggle.com/datasets/jocelyndumlao/luganda-swahili-speech-for-text-to-speechsynthesis/data) Kaggle dataset. The source data contains recordings from 6 speakers per language, but speaker identity was not labeled in the original release. Speaker labels in this version were recovered via unsupervised audio clustering (6 clusters per language), and the audio was filtered for corrupt files before merging into a single train/validation split.
|
| 29 |
+
|
| 30 |
+
- **Languages:** Luganda (`lg`), Kiswahili / Swahili (`sw`)
|
| 31 |
+
- **Total utterances:** 28,349 (after cleaning)
|
| 32 |
+
- **Total duration:** ~32.16 hours (13.10h Kiswahili + 19.06h Luganda)
|
| 33 |
+
- **Speakers:** 6 per language (12 total), speaker identity inferred via clustering — **not** ground-truth speaker metadata
|
| 34 |
+
- **License:** [CC0 1.0 Public Domain](https://creativecommons.org/publicdomain/zero/1.0/)
|
| 35 |
+
|
| 36 |
+
## Supported Tasks
|
| 37 |
+
|
| 38 |
+
- **Text-to-Speech (TTS):** `text` / `english_transcript` → `audio`
|
| 39 |
+
- **Automatic Speech Recognition (ASR):** `audio` → `text`
|
| 40 |
+
- **Speaker-conditioned TTS / voice cloning:** using the clustered `speaker_id` field
|
| 41 |
+
|
| 42 |
+
## Dataset Structure
|
| 43 |
+
|
| 44 |
+
### Data Instances
|
| 45 |
+
|
| 46 |
+
Each example contains a single audio clip paired with its transcript in the source language, an English translation, a language tag, and a clustered speaker ID.
|
| 47 |
+
|
| 48 |
+
```python
|
| 49 |
+
{
|
| 50 |
+
"audio": {"array": [...], "sampling_rate": 16000, "path": "..."},
|
| 51 |
+
"text": "...",
|
| 52 |
+
"english_transcript": "...",
|
| 53 |
+
"language": "lug", # or "swa"
|
| 54 |
+
"speaker_id": "lug_spk5"
|
| 55 |
+
}
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
### Data Fields
|
| 59 |
+
|
| 60 |
+
| Field | Type | Description |
|
| 61 |
+
|---|---|---|
|
| 62 |
+
| `audio` | `Audio` | The speech recording |
|
| 63 |
+
| `text` | `string` | Transcript in the source language (Luganda or Kiswahili) |
|
| 64 |
+
| `english_transcript` | `string` | English translation of the transcript |
|
| 65 |
+
| `language` | `string` | Source language code (`lug` or `swa`) |
|
| 66 |
+
| `speaker_id` | `string` | Clustered speaker label (e.g. `lug_spk1`–`lug_spk6`, `swa_spk1`–`swa_spk6`); assigned via unsupervised clustering, not original metadata |
|
| 67 |
+
|
| 68 |
+
### Data Splits
|
| 69 |
+
|
| 70 |
+
The dataset was split 90/10 into train/validation, **stratified per speaker** so every speaker is proportionally represented in both splits (rather than a single global random split, which risked dropping low-count speakers entirely from one side).
|
| 71 |
+
|
| 72 |
+
| Split | Utterances | % |
|
| 73 |
+
|---|---|---|
|
| 74 |
+
| train | 25,514 | 90.0% |
|
| 75 |
+
| validation | 2,835 | 10.0% |
|
| 76 |
+
| **Total** | **28,349** | 100% |
|
| 77 |
+
|
| 78 |
+
**Per-speaker distribution:**
|
| 79 |
+
|
| 80 |
+
| Speaker | Train | Validation |
|
| 81 |
+
|---|---|---|
|
| 82 |
+
| lug_spk1 | 2,172 | 241 |
|
| 83 |
+
| lug_spk2 | 1,910 | 212 |
|
| 84 |
+
| lug_spk3 | 3,078 | 342 |
|
| 85 |
+
| lug_spk4 | 1,867 | 208 |
|
| 86 |
+
| lug_spk5 | 3,592 | 399 |
|
| 87 |
+
| lug_spk6 | 2,862 | 318 |
|
| 88 |
+
| swa_spk1 | 969 | 108 |
|
| 89 |
+
| swa_spk2 | 1,412 | 157 |
|
| 90 |
+
| swa_spk3 | 1,785 | 198 |
|
| 91 |
+
| swa_spk4 | 1,525 | 169 |
|
| 92 |
+
| swa_spk5 | 2,709 | 301 |
|
| 93 |
+
| swa_spk6 | 1,633 | 182 |
|
| 94 |
+
|
| 95 |
+
## Dataset Creation
|
| 96 |
+
|
| 97 |
+
### Source Data
|
| 98 |
+
|
| 99 |
+
Raw audio and transcripts were sourced from the [Luganda-Swahili Speech for Text-to-Speech Synthesis](https://www.kaggle.com/datasets/jocelyndumlao/luganda-swahili-speech-for-text-to-speechsynthesis/data) dataset on Kaggle, released under [CC0 1.0 Public Domain](https://creativecommons.org/publicdomain/zero/1.0/).
|
| 100 |
+
|
| 101 |
+
### Speaker Clustering
|
| 102 |
+
|
| 103 |
+
The original dataset does not label which of the 6 speakers per language produced each clip. Speaker identity was recovered by:
|
| 104 |
+
1. Extracting audio features from each clip.
|
| 105 |
+
2. Clustering clips per language into 6 groups (k=6) to approximate the 6 known speakers.
|
| 106 |
+
|
| 107 |
+
Resulting cluster sizes:
|
| 108 |
+
|
| 109 |
+
**Luganda** (17,201 clips clustered into 6 speakers):
|
| 110 |
+
|
| 111 |
+
| Speaker | Clips |
|
| 112 |
+
|---|---|
|
| 113 |
+
| lug_spk5 | 3,991 |
|
| 114 |
+
| lug_spk3 | 3,420 |
|
| 115 |
+
| lug_spk6 | 3,180 |
|
| 116 |
+
| lug_spk1 | 2,413 |
|
| 117 |
+
| lug_spk2 | 2,122 |
|
| 118 |
+
| lug_spk4 | 2,075 |
|
| 119 |
+
|
| 120 |
+
**Kiswahili** (11,149 clips clustered into 6 speakers):
|
| 121 |
+
|
| 122 |
+
| Speaker | Clips |
|
| 123 |
+
|---|---|
|
| 124 |
+
| swa_spk5 | 3,010 |
|
| 125 |
+
| swa_spk3 | 1,983 |
|
| 126 |
+
| swa_spk6 | 1,816 |
|
| 127 |
+
| swa_spk4 | 1,694 |
|
| 128 |
+
| swa_spk2 | 1,569 |
|
| 129 |
+
| swa_spk1 | 1,077 |
|
| 130 |
+
|
| 131 |
+
**Note:** these speaker labels are cluster assignments, not verified ground-truth speaker identities. They should be treated as a best-effort approximation useful for speaker-conditioned modeling, not as authoritative metadata.
|
| 132 |
+
|
| 133 |
+
### Data Cleaning
|
| 134 |
+
|
| 135 |
+
Corrupt/empty audio files were filtered out prior to clustering and merging:
|
| 136 |
+
|
| 137 |
+
| Language | Before | After | Removed |
|
| 138 |
+
|---|---|---|---|
|
| 139 |
+
| Kiswahili | 11,149 | 11,148 | 1 |
|
| 140 |
+
| Luganda | 17,201 | 17,201 | 0 |
|
| 141 |
+
|
| 142 |
+
### Audio Statistics
|
| 143 |
+
|
| 144 |
+
| | Kiswahili | Luganda |
|
| 145 |
+
|---|---|---|
|
| 146 |
+
| Average duration | 4.23s | 3.99s |
|
| 147 |
+
| Median duration | 4.14s | 3.78s |
|
| 148 |
+
| Min duration | 1.05s | 1.17s |
|
| 149 |
+
| Max duration | 8.73s | 9.72s |
|
| 150 |
+
| Total duration | 13.10h | 19.06h |
|
| 151 |
+
|
| 152 |
+
## Licensing Information
|
| 153 |
+
|
| 154 |
+
This dataset is released under [CC0 1.0 Universal (Public Domain Dedication)](https://creativecommons.org/publicdomain/zero/1.0/), matching the license of the source Kaggle dataset.
|
| 155 |
+
|
| 156 |
+
## Citation
|
| 157 |
+
|
| 158 |
+
If you use this dataset, please cite the original source:
|
| 159 |
+
|
| 160 |
+
```bibtex
|
| 161 |
+
@misc{lugswa_tts_kaggle,
|
| 162 |
+
title = {Luganda-Swahili Speech for Text-to-Speech Synthesis},
|
| 163 |
+
author = {Dumlao, Jocelyn},
|
| 164 |
+
year = {2024},
|
| 165 |
+
url = {https://www.kaggle.com/datasets/jocelyndumlao/luganda-swahili-speech-for-text-to-speechsynthesis/data}
|
| 166 |
+
}
|
| 167 |
+
```
|
| 168 |
+
|
| 169 |
+
## Acknowledgements
|
| 170 |
+
|
| 171 |
+
Speaker clustering, corrupt-file filtering, and the stratified train/validation split were performed as part of dataset preparation work under `r-labs`.
|
| 172 |
---
|