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7 |
+
- automatic-speech-recognition
|
| 8 |
+
- audio-classification
|
| 9 |
+
tags:
|
| 10 |
+
- khmer
|
| 11 |
+
- cambodian
|
| 12 |
+
- speech
|
| 13 |
+
- transcription
|
| 14 |
+
- multilingual
|
| 15 |
+
size_categories:
|
| 16 |
+
- 10K<n<100K
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# khmer_speech_dataset
|
| 20 |
+
|
| 21 |
+
Khmer speech dataset with transcriptions, speaker labels, and metadata.
|
| 22 |
+
|
| 23 |
+
## Dataset Description
|
| 24 |
+
|
| 25 |
+
This dataset contains Khmer (Cambodian) speech recordings with detailed transcriptions and annotations.
|
| 26 |
+
|
| 27 |
+
### Dataset Statistics
|
| 28 |
+
|
| 29 |
+
| Metric | Value |
|
| 30 |
+
|--------|-------|
|
| 31 |
+
| Total Examples | 9,285 |
|
| 32 |
+
| Total Duration | 336.68 hours |
|
| 33 |
+
| Average Duration | 130.54 seconds |
|
| 34 |
+
| Total Words | 1,336,611 |
|
| 35 |
+
| Khmer Words | 994,050 (74.4%) |
|
| 36 |
+
| English Words | 340,127 (25.4%) |
|
| 37 |
+
| Unique Sources | 2857 |
|
| 38 |
+
| Unique Tags | 2092 |
|
| 39 |
+
|
| 40 |
+
### Source Distribution
|
| 41 |
+
|
| 42 |
+
| Source Type | Count |
|
| 43 |
+
|-------------|-------|
|
| 44 |
+
| youtube | 5,947 |
|
| 45 |
+
| unknown | 16 |
|
| 46 |
+
| conversation | 696 |
|
| 47 |
+
| telegram | 2,626 |
|
| 48 |
+
|
| 49 |
+
### Speaker Distribution
|
| 50 |
+
|
| 51 |
+
| Speakers | Count | Duration (hours) |
|
| 52 |
+
|----------|-------|------------------|
|
| 53 |
+
| 0 | 2 | 0.00 (0.0%) |
|
| 54 |
+
| 1 | 3,060 | 33.97 (10.1%) |
|
| 55 |
+
| 2 | 2,855 | 137.80 (40.9%) |
|
| 56 |
+
| 3 | 2,892 | 141.56 (42.0%) |
|
| 57 |
+
| 4 | 387 | 18.99 (5.6%) |
|
| 58 |
+
| 5 | 65 | 3.18 (0.9%) |
|
| 59 |
+
| 6 | 16 | 0.78 (0.2%) |
|
| 60 |
+
| 7 | 2 | 0.10 (0.0%) |
|
| 61 |
+
| 8 | 5 | 0.25 (0.1%) |
|
| 62 |
+
| 12 | 1 | 0.05 (0.0%) |
|
| 63 |
+
|
| 64 |
+
### Top Tags
|
| 65 |
+
|
| 66 |
+
| Tag | Count |
|
| 67 |
+
|-----|-------|
|
| 68 |
+
| overlapping | 5,982 |
|
| 69 |
+
| laughing | 4,736 |
|
| 70 |
+
| drag_tone | 3,705 |
|
| 71 |
+
| fast | 3,337 |
|
| 72 |
+
| mocking | 1,821 |
|
| 73 |
+
| high_pitch | 1,792 |
|
| 74 |
+
| shout | 1,597 |
|
| 75 |
+
| frustrated | 1,163 |
|
| 76 |
+
| smack_lips | 1,161 |
|
| 77 |
+
| heavy_breathing | 961 |
|
| 78 |
+
| whisper | 886 |
|
| 79 |
+
| softly | 856 |
|
| 80 |
+
| stutter | 726 |
|
| 81 |
+
| serious | 664 |
|
| 82 |
+
| normal | 638 |
|
| 83 |
+
| sigh | 465 |
|
| 84 |
+
| hesitant | 433 |
|
| 85 |
+
| normal_tone | 428 |
|
| 86 |
+
| panic | 423 |
|
| 87 |
+
| thinking | 399 |
|
| 88 |
+
|
| 89 |
+
## Dataset Structure
|
| 90 |
+
|
| 91 |
+
### Data Fields
|
| 92 |
+
|
| 93 |
+
- `audio`: Audio file path/bytes
|
| 94 |
+
- `text_raw`: Raw transcription with speaker labels and tags
|
| 95 |
+
- `text_clean`: Cleaned transcription (no tags, no speaker labels)
|
| 96 |
+
- `duration_seconds`: Audio duration in seconds
|
| 97 |
+
- `speaker_count`: Number of speakers in the audio
|
| 98 |
+
- `speakers`: List of speaker IDs
|
| 99 |
+
- `tags`: List of normalized annotation tags
|
| 100 |
+
- `english_words`: Count of English words
|
| 101 |
+
- `khmer_words`: Count of Khmer words
|
| 102 |
+
- `total_words`: Total word count
|
| 103 |
+
- `chunk_id`: Chunk index within original audio
|
| 104 |
+
- `original_name`: Name of original audio file
|
| 105 |
+
- `source_type`: Source type (telegram, youtube, conversation, unknown)
|
| 106 |
+
- `source_folder`: Original folder name
|
| 107 |
+
- `telegram_chat_id`: Telegram chat ID (if applicable)
|
| 108 |
+
|
| 109 |
+
### Tag Categories
|
| 110 |
+
|
| 111 |
+
- **Speech markers**: hesitant, thinking, confused, drag_tone, overlapping
|
| 112 |
+
- **Audio markers**: music, low_quality, noise
|
| 113 |
+
- **Language markers**: english, khmer
|
| 114 |
+
|
| 115 |
+
## Usage
|
| 116 |
+
|
| 117 |
+
```python
|
| 118 |
+
from datasets import load_dataset
|
| 119 |
+
|
| 120 |
+
# Load dataset
|
| 121 |
+
dataset = load_dataset("path/to/dataset")
|
| 122 |
+
|
| 123 |
+
# Access examples
|
| 124 |
+
for example in dataset["train"]:
|
| 125 |
+
audio = example["audio"]
|
| 126 |
+
text = example["text_clean"]
|
| 127 |
+
print(f"Duration: {example['duration_seconds']:.2f}s")
|
| 128 |
+
print(f"Text: {text[:100]}...")
|
| 129 |
+
```
|
| 130 |
+
|
| 131 |
+
## License
|
| 132 |
+
|
| 133 |
+
This dataset is released under CC-BY-NC-4.0 license.
|
| 134 |
+
|
| 135 |
+
## Citation
|
| 136 |
+
|
| 137 |
+
If you use this dataset, please cite:
|
| 138 |
+
|
| 139 |
+
```
|
| 140 |
+
@dataset{khmer_speech_dataset,
|
| 141 |
+
title={Khmer Speech Dataset},
|
| 142 |
+
year={2024},
|
| 143 |
+
url={https://huggingface.co/datasets/...}
|
| 144 |
+
}
|
| 145 |
+
```
|