jsbeaudry commited on
Commit
24237eb
·
verified ·
1 Parent(s): 6b9361a

Add 15 files

Browse files
README.md CHANGED
@@ -1,3 +1,199 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - automatic-speech-recognition
5
+ - text-to-speech
6
+ tags:
7
+ - speech
8
+ - audio
9
+ - haitian_creole
10
+ - healthcare
11
+ - human
12
+ - multilingual
13
+ language:
14
+ - ha
15
+ size_categories:
16
+ - n<1K
17
+ pretty_name: Multi-Domain Haitian_creole Speech Dataset
18
+ ---
19
+
20
+ # Multi-Domain Haitian_creole Speech Dataset
21
+
22
+ This dataset contains 12 audio recordings with corresponding text transcriptions across multiple languages and domains.
23
+
24
+ ## Dataset Description
25
+
26
+ A comprehensive collection of audio files paired with text transcriptions, featuring both synthetic and natural speech across various domains. Suitable for automatic speech recognition (ASR), text-to-speech (TTS), and domain-specific speech processing tasks.
27
+
28
+ ## Dataset Structure
29
+
30
+ Each entry contains:
31
+ - `id`: Unique identifier (UUID)
32
+ - `text`: Transcription text in the specified language
33
+ - `audio`: URL to the audio file (with AWS S3 signed URLs)
34
+ - `nature`: Type of audio (e.g., "synthetic", "natural")
35
+ - `language`: Language of the audio/text
36
+ - `domain`: Domain/topic category (e.g., "agriculture", "healthcare", "education")
37
+
38
+ ## Languages
39
+
40
+ This dataset includes the following languages:
41
+ - **Haitian_creole** (ha): haitian_creole
42
+
43
+ ## Domains
44
+
45
+ Content spans across multiple domains:
46
+ - **Healthcare**: Domain-specific terminology and context
47
+
48
+ ## Audio Nature
49
+
50
+ The dataset includes different types of audio:
51
+ - **Human**: Natural human speech
52
+
53
+ ## Usage
54
+
55
+ ```python
56
+ from datasets import load_dataset
57
+ import json
58
+ import requests
59
+ from io import BytesIO
60
+ import pandas as pd
61
+
62
+ # Load using datasets library
63
+ dataset = load_dataset("jsbeaudry/med-cre")
64
+
65
+ # Or load JSON directly
66
+ with open("dataset.json", "r", encoding="utf-8") as f:
67
+ data = json.load(f)
68
+
69
+ print(f"Dataset contains {len(data)} audio-text pairs")
70
+
71
+ # Create DataFrame for analysis
72
+ df = pd.DataFrame(data)
73
+ print("\nDataset breakdown:")
74
+ print(f"Languages: {df['language'].value_counts().to_dict()}")
75
+ print(f"Domains: {df['domain'].value_counts().to_dict()}")
76
+ print(f"Nature: {df['nature'].value_counts().to_dict()}")
77
+
78
+ # Filter by criteria
79
+ swahili_agriculture = [item for item in data
80
+ if item['language'] == 'swahili' and item['domain'] == 'agriculture']
81
+ print(f"\nSwahili agriculture samples: {len(swahili_agriculture)}")
82
+
83
+ # Example: Download and process audio
84
+ def download_audio(url):
85
+ response = requests.get(url)
86
+ return BytesIO(response.content)
87
+
88
+ # Get first audio file
89
+ audio_data = download_audio(data[0]['audio'])
90
+ print(f"Audio downloaded for: {data[0]['text'][:50]}...")
91
+ ```
92
+
93
+ ## Sample Data
94
+
95
+ ```json
96
+ {
97
+ "speaker_id": "2317776c-d722-4870-bcfa-99b3b58526c4",
98
+ "id": "2317776c-d722-4870-bcfa-99b3b58526c4",
99
+ "text": "Kijan ou santi ou jodi a, paske pran swen tèt ou enpòtan anpil pou sante mantal ou.",
100
+ "audio": "https://voiceovers-haiti.s3.us-east-2.amazonaws.com/0e230ff9-f13e-4d3b-be7d-fb3b19977511_d28cfdee-75e0-489a-a790-49db5343dd8a_human.wav?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIAXF2BWYGA2CKJX4LH%2F20251003%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20251003T132746Z&X-Amz-Expires=3600&X-Amz-Signature=905a5d745efff9ed19663649d2a87c56377008223314632b46029d4539eea643&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
101
+ "nature": "human",
102
+ "language": "haitian_creole",
103
+ "domain": "healthcare"
104
+ }
105
+ ```
106
+
107
+ ## Sample Transcriptions by Domain
108
+
109
+ ### Healthcare Domain
110
+
111
+ 1. **Haitian_creole** (human):
112
+ "Kijan ou santi ou jodi a, paske pran swen tèt ou enpòtan anpil pou sante mantal ou."
113
+ *ID*: `2317776c...`
114
+
115
+ 2. **Haitian_creole** (human):
116
+ "Si w santi estrès oswa tristès, pa pè chèche sipò yon pwofesyonèl nan sante mantal, yo la pou ede w."
117
+ *ID*: `9665761e...`
118
+
119
+ ## Dataset Statistics
120
+
121
+ - **Total audio files**: 12
122
+ - **Languages**: 1 (Haitian_creole)
123
+ - **Domains**: 1 (healthcare)
124
+ - **Audio types**: human
125
+ - **Average text length**: 74 characters
126
+ - **Audio hosting**: voiceovers-haiti.s3.us-east-2.amazonaws.com
127
+
128
+ ### Distribution by Category
129
+
130
+ | Category | Values |
131
+ |----------|---------|
132
+ | Haitian_creole | 12 samples |
133
+ | Healthcare | 12 samples |
134
+ | Human | 12 samples |
135
+
136
+ ## Audio Format
137
+
138
+ Audio files are stored locally in the dataset as WAV files. When loaded with the datasets library, audio is automatically converted to the standard format:
139
+ - **Format**: WAV
140
+ - **Sampling Rate**: Preserved from original (typically 16kHz or 22kHz)
141
+ - **Channels**: Mono
142
+ - **Bit Depth**: 16-bit or 32-bit float
143
+ - **Access**: Direct array access via `dataset['train'][index]['audio']['array']`
144
+
145
+ ## Use Cases
146
+
147
+ This dataset can be used for:
148
+
149
+ ### Speech Recognition (ASR)
150
+ - Multi-language speech recognition systems
151
+ - Domain-specific ASR models (agriculture, healthcare, etc.)
152
+ - Synthetic vs. natural speech detection
153
+
154
+ ### Text-to-Speech (TTS)
155
+ - Multi-language TTS systems
156
+ - Domain-adaptive speech synthesis
157
+ - Voice quality evaluation (synthetic vs. natural)
158
+
159
+ ### Research Applications
160
+ - Cross-domain speech analysis
161
+ - Language-specific phonetic studies
162
+ - Synthetic speech quality assessment
163
+ - Multi-modal AI training
164
+
165
+ ### Commercial Applications
166
+ - Voice assistants for specific domains
167
+ - Educational pronunciation tools
168
+ - Accessibility applications
169
+ - Multilingual customer service systems
170
+
171
+ ## Data Quality
172
+
173
+ - All audio files are accessible via HTTPS URLs with AWS authentication
174
+ - Text transcriptions are domain-verified and language-specific
175
+ - Unique identifiers ensure data integrity and traceability
176
+ - Consistent schema across all entries
177
+ - Balanced representation across domains and languages
178
+
179
+ ## License
180
+
181
+ This dataset is released under the MIT License.
182
+
183
+ ## Citation
184
+
185
+ ```bibtex
186
+ @dataset{multi_domain_speech_2025,
187
+ title={Multi-Domain Haitian_creole Speech Dataset},
188
+ author={Dataset Creator},
189
+ year={2025},
190
+ languages={ha},
191
+ domains={healthcare},
192
+ url={https://huggingface.co/datasets/jsbeaudry/med-cre}
193
+ }
194
+ ```
195
+
196
+ ## Acknowledgments
197
+
198
+ Special thanks to contributors who provided audio recordings and transcriptions across multiple languages and domains to make this comprehensive dataset possible.
199
+
data/119d62c0-49e9-4369-814b-06dda7b8e8fc.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78aa3780c8815f0795d3c102830b7157e4a23dcdd4823e259a7088cdc852484d
3
+ size 288044
data/1d9885ce-b532-49cb-b09b-26bed65ca979.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cd5e9ab9babdcb2832e07ff3cc4a7266b22256395823a09ad5b0d3e2b2e63ee
3
+ size 316844
data/2317776c-d722-4870-bcfa-99b3b58526c4.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65edfed599114436d48e62de63181b31db0e9a4cdd7846e957bbd2cc55c887b3
3
+ size 414764
data/37d780b1-bd75-42a7-88c5-245beefac17c.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a35923d825aeddfbd9ed3f15123d0f24f096d430ca9db95487071c7f0445f8d
3
+ size 308204
data/3b9bfb3f-4b04-4124-8f61-1f5a7f55c85d.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44d70388921be6db8280a61dc41613a7edcd25c0fd4a78bca5615cc0a0bbabe7
3
+ size 319724
data/4cab0134-3314-4d70-a2be-9f911a7ec8a3.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f6e5e87ad3f6b68952ac3168d9c026d60996a6ceb1de3ac40fe96d7d0f25592
3
+ size 319724
data/5a1153aa-5c0c-4db2-8a55-c26c297b60d3.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7638e2201e1ebaf766f5de6115cbd958a6b4fcc512e6bbca2a10ebd4db2fcf0e
3
+ size 293804
data/66ca86cf-bad3-43ec-98c3-b675873fc1dd.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae763fb582e06559da6d240f4e8be59272f3b230467ed54af85da93627f7ab25
3
+ size 267884
data/9665761e-5811-45fb-8c34-611f49a09e5e.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:023767026e20bb70c3f431e70d92c6d0c1b9c819acd351f98236287f27b0f171
3
+ size 506924
data/9b373149-9be4-420d-8d69-86a870bc93fc.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7621993b349e7a549ed469bcfc5259a326af3c258d8fbe73e6e984b322e2efbe
3
+ size 311084
data/c24b6d06-677e-481f-9cb2-5c6507ccb14e.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee08e3606459e51ed3ee37689532510782935e5b69aeb7b3854e7945c5a53172
3
+ size 328364
data/f8a7be79-2bf9-45c4-b122-3af335b5f3f7.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11f031fcee64ce3e1e84d743ed4d36ca0622ba16544f35efb8d12249a09244f3
3
+ size 250604
dataset_info.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "citation": "",
3
+ "description": "Multi-domain speech dataset with 12 audio-text pairs across 1 languages and 1 domains",
4
+ "features": {
5
+ "id": {
6
+ "dtype": "string",
7
+ "description": "Unique identifier (UUID) for each audio-text pair"
8
+ },
9
+ "text": {
10
+ "dtype": "string",
11
+ "description": "Text transcription in the specified language"
12
+ },
13
+ "audio": {
14
+ "sampling_rate": 24000,
15
+ "_type": "Audio"
16
+ },
17
+ "nature": {
18
+ "dtype": "string",
19
+ "description": "Type of audio generation (synthetic, natural, etc.)"
20
+ },
21
+ "language": {
22
+ "dtype": "string",
23
+ "description": "Language of the audio and text content"
24
+ },
25
+ "domain": {
26
+ "dtype": "string",
27
+ "description": "Domain or topic category (agriculture, healthcare, etc.)"
28
+ }
29
+ },
30
+ "homepage": "",
31
+ "license": "mit",
32
+ "task_categories": [
33
+ "automatic-speech-recognition",
34
+ "text-to-speech"
35
+ ],
36
+ "tags": [
37
+ "speech",
38
+ "audio",
39
+ "multilingual",
40
+ "haitian_creole",
41
+ "healthcare",
42
+ "human"
43
+ ],
44
+ "languages": [
45
+ "ha"
46
+ ],
47
+ "size_categories": "n<1K",
48
+ "splits": {
49
+ "train": {
50
+ "name": "train",
51
+ "num_bytes": 8919,
52
+ "num_examples": 12
53
+ }
54
+ }
55
+ }
metadata.csv ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id,text,file_name,nature,language,domain
2
+ 2317776c-d722-4870-bcfa-99b3b58526c4,"Kijan ou santi ou jodi a, paske pran swen tèt ou enpòtan anpil pou sante mantal ou.",data/2317776c-d722-4870-bcfa-99b3b58526c4.wav,human,haitian_creole,healthcare
3
+ 9665761e-5811-45fb-8c34-611f49a09e5e,"Si w santi estrès oswa tristès, pa pè chèche sipò yon pwofesyonèl nan sante mantal, yo la pou ede w.",data/9665761e-5811-45fb-8c34-611f49a09e5e.wav,human,haitian_creole,healthcare
4
+ 119d62c0-49e9-4369-814b-06dda7b8e8fc,"Bonjou, èske ou ka tann yon ti moman pandan map kontakte doktè a?",data/119d62c0-49e9-4369-814b-06dda7b8e8fc.wav,human,haitian_creole,healthcare
5
+ 9b373149-9be4-420d-8d69-86a870bc93fc,"Mwen santi m gen lafyèv depi yè swa, èske mwen bezwen fè yon tès?",data/9b373149-9be4-420d-8d69-86a870bc93fc.wav,human,haitian_creole,healthcare
6
+ 37d780b1-bd75-42a7-88c5-245beefac17c,Telemedsin fasilite w jwenn konsèy medikal san ou pa kite kay ou.,data/37d780b1-bd75-42a7-88c5-245beefac17c.wav,human,haitian_creole,healthcare
7
+ 4cab0134-3314-4d70-a2be-9f911a7ec8a3,Ou ka voye foto blese a nan aplikasyon an pou doktè a ka wè li pi byen.,data/4cab0134-3314-4d70-a2be-9f911a7ec8a3.wav,human,haitian_creole,healthcare
8
+ 3b9bfb3f-4b04-4124-8f61-1f5a7f55c85d,"Si ou gen doulè nan lestomak ou, èske ou te eseye pran yon medikaman oswa konsilte yon doktè?",data/3b9bfb3f-4b04-4124-8f61-1f5a7f55c85d.wav,human,haitian_creole,healthcare
9
+ f8a7be79-2bf9-45c4-b122-3af335b5f3f7,"Ou pa bezwen enkyete, doktè a ap reponn ou talè konsa.",data/f8a7be79-2bf9-45c4-b122-3af335b5f3f7.wav,human,haitian_creole,healthcare
10
+ 5a1153aa-5c0c-4db2-8a55-c26c297b60d3,Telemedsin se yon bon solisyon pou moun ki twò lwen pou yon vizit nan klinik la.,data/5a1153aa-5c0c-4db2-8a55-c26c297b60d3.wav,human,haitian_creole,healthcare
11
+ c24b6d06-677e-481f-9cb2-5c6507ccb14e,Èske ou gen tout medikaman ou bezwen anvan ou kòmanse yon konsiltasyon videyo?,data/c24b6d06-677e-481f-9cb2-5c6507ccb14e.wav,human,haitian_creole,healthcare
12
+ 66ca86cf-bad3-43ec-98c3-b675873fc1dd,Mwen ka ede w pran yon randevou ak yon espesyalis san ou pa deplase.,data/66ca86cf-bad3-43ec-98c3-b675873fc1dd.wav,human,haitian_creole,healthcare
13
+ 1d9885ce-b532-49cb-b09b-26bed65ca979,Li enpòtan pou w di tout sentòm yo byen klè pandan konsiltasyon an.,data/1d9885ce-b532-49cb-b09b-26bed65ca979.wav,human,haitian_creole,healthcare