File size: 4,141 Bytes
b0c64d1
2d1cd4f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b0c64d1
2d1cd4f
 
 
 
 
b0c64d1
2d1cd4f
ae14755
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
---
license: cc-by-sa-4.0
language:
- de
- el
- en
- es
- fi
- fr
- hu
- ja
- nl
- ru
- zh
size_categories:
- 10K<n<100K
task_categories:
- text-to-speech
pretty_name: CSS10 + LJSpeech Multilingual Dataset
tags:
- tts
- speech
- multilingual
- css10
- ljspeech
---

# CSS10 + LJSpeech Multilingual Dataset

A unified multilingual speech dataset combining CSS10 (10 languages) and LJSpeech (English) in a consistent LJSpeech format.

## Dataset Description

This dataset merges:
- **CSS10**: A collection of single-speaker speech datasets for 10 languages
- **LJSpeech**: High-quality English speech dataset (Linda Johnson)

All audio files are provided in a consistent format suitable for TTS training.

## Languages and Statistics

| Language | Code | Files | Hours | Speaker ID |
|----------|------|-------|-------|------------|
| English | en | 13,100 | ~24.0 | LJSpeech |
| Spanish | es | 11,016 | ~19.2 | CSS10_es |
| Russian | ru | 9,599 | ~16.9 | CSS10_ru |
| French | fr | 8,649 | ~15.2 | CSS10_fr |
| German | de | 7,427 | ~13.1 | CSS10_de |
| Japanese | ja | 6,839 | ~14.9 | CSS10_ja |
| Dutch | nl | 6,145 | ~10.8 | CSS10_nl |
| Finnish | fi | 4,755 | ~8.4 | CSS10_fi |
| Hungarian | hu | 4,514 | ~7.9 | CSS10_hu |
| Chinese | zh | 2,971 | ~6.5 | CSS10_zh |
| Greek | el | 1,844 | ~3.2 | CSS10_el |

**Total**: 76,859 utterances, ~140 hours, 11 speakers

## File Structure

```
├── README.md                    # This file
├── metadata.csv                 # Standard LJSpeech format (id|text)
├── metadata_multispeaker.csv    # With speaker info (speaker|id|text)
├── dataset_stats.json          # Dataset statistics
├── speaker_info.json           # Speaker mapping and descriptions
├── audio_durations.csv         # Audio duration information
└── wavs.zip                    # All audio files (77,296 files)
```

## Metadata Formats

### 1. Standard LJSpeech Format (`metadata.csv`)
```
id|text
de|Hanake hatte allen Körperschmuck...
en_LJ001-0001|Printing, in the only sense...
```

### 2. Multi-speaker Format (`metadata_multispeaker.csv`)
```
speaker|id|text
CSS10_de|de|Hanake hatte allen Körperschmuck...
LJSpeech|en_LJ001-0001|Printing, in the only sense...
```


## Usage

### Loading the Dataset

```python
import pandas as pd
import zipfile
from pathlib import Path

# Extract audio files
with zipfile.ZipFile("wavs.zip", "r") as zip_ref:
    zip_ref.extractall(".")

# Load metadata
metadata = pd.read_csv("metadata.csv", sep="|", names=["id", "text"])

# Load multi-speaker metadata
metadata_ms = pd.read_csv("metadata_multispeaker.csv", 
                         sep="|", names=["speaker", "id", "text"])
```

### For TTS Training (Piper)

```bash
# Single speaker training (filter by language)
python -m piper_train.preprocess \
    --input-dir . \
    --output-dir output \
    --dataset-format ljspeech \
    --sample-rate 22050

# Multi-speaker training
python -m piper_train.preprocess \
    --input-dir . \
    --output-dir output \
    --dataset-format multispeaker \
    --metadata-file metadata_multispeaker.csv \
    --sample-rate 22050
```

## File Naming Convention

- CSS10 files: `{language_code}_{original_id}.wav` (e.g., `ja_BASIC5000_0001.wav`)
- LJSpeech files: `en_{original_id}.wav` (e.g., `en_LJ001-0001.wav`)

## License

This dataset combines:
- CSS10: CC BY-SA 4.0
- LJSpeech: Public Domain

Please refer to the original datasets for detailed license information.

## Citation

If you use this dataset, please cite both original sources:

```bibtex
@misc{css10,
  author = {Kyubyong Park and Thomas Mulc},
  title = {CSS10: A Collection of Single Speaker Speech Datasets for 10 Languages},
  year = {2019},
  publisher = {Interspeech},
}

@misc{ljspeech17,
  author = {Keith Ito and Linda Johnson},
  title = {The LJ Speech Dataset},
  howpublished = {\url{https://keithito.com/LJ-Speech-Dataset/}},
  year = {2017}
}
```

## Acknowledgments

- CSS10 dataset creators and contributors
- Keith Ito for the LJSpeech dataset
- The [css10-ljspeech](https://huggingface.co/datasets/ayousanz/css10-ljspeech) dataset for providing CSS10 in LJSpeech format