Update files from the datasets library (from 1.9.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.9.0
- README.md +12 -4
- arabic_speech_corpus.py +2 -0
- dataset_infos.json +1 -1
README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
---
|
|
|
2 |
annotations_creators:
|
3 |
- expert-generated
|
4 |
language_creators:
|
@@ -9,15 +10,15 @@ licenses:
|
|
9 |
- cc-by-4-0
|
10 |
multilinguality:
|
11 |
- monolingual
|
|
|
12 |
size_categories:
|
13 |
- 1K<n<10K
|
14 |
source_datasets:
|
15 |
- original
|
16 |
task_categories:
|
17 |
-
-
|
18 |
task_ids:
|
19 |
-
-
|
20 |
-
paperswithcode_id: arabic-speech-corpus
|
21 |
---
|
22 |
|
23 |
# Dataset Card for Arabic Speech Corpus
|
@@ -152,7 +153,14 @@ CC BY 4.0
|
|
152 |
|
153 |
### Citation Information
|
154 |
|
155 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
|
157 |
### Contributions
|
158 |
|
|
|
1 |
---
|
2 |
+
pretty_name: Arabic Speech Corpus
|
3 |
annotations_creators:
|
4 |
- expert-generated
|
5 |
language_creators:
|
|
|
10 |
- cc-by-4-0
|
11 |
multilinguality:
|
12 |
- monolingual
|
13 |
+
paperswithcode_id: arabic-speech-corpus
|
14 |
size_categories:
|
15 |
- 1K<n<10K
|
16 |
source_datasets:
|
17 |
- original
|
18 |
task_categories:
|
19 |
+
- automatic-speech-recognition
|
20 |
task_ids:
|
21 |
+
- speech-recognition
|
|
|
22 |
---
|
23 |
|
24 |
# Dataset Card for Arabic Speech Corpus
|
|
|
153 |
|
154 |
### Citation Information
|
155 |
|
156 |
+
```
|
157 |
+
@phdthesis{halabi2016modern,
|
158 |
+
title={Modern standard Arabic phonetics for speech synthesis},
|
159 |
+
author={Halabi, Nawar},
|
160 |
+
year={2016},
|
161 |
+
school={University of Southampton}
|
162 |
+
}
|
163 |
+
```
|
164 |
|
165 |
### Contributions
|
166 |
|
arabic_speech_corpus.py
CHANGED
@@ -20,6 +20,7 @@
|
|
20 |
import os
|
21 |
|
22 |
import datasets
|
|
|
23 |
|
24 |
|
25 |
_CITATION = """\
|
@@ -91,6 +92,7 @@ class ArabicSpeechCorpus(datasets.GeneratorBasedBuilder):
|
|
91 |
supervised_keys=("file", "text"),
|
92 |
homepage=_URL,
|
93 |
citation=_CITATION,
|
|
|
94 |
)
|
95 |
|
96 |
def _split_generators(self, dl_manager):
|
|
|
20 |
import os
|
21 |
|
22 |
import datasets
|
23 |
+
from datasets.tasks import AutomaticSpeechRecognition
|
24 |
|
25 |
|
26 |
_CITATION = """\
|
|
|
92 |
supervised_keys=("file", "text"),
|
93 |
homepage=_URL,
|
94 |
citation=_CITATION,
|
95 |
+
task_templates=[AutomaticSpeechRecognition(audio_file_path_column="file", transcription_column="text")],
|
96 |
)
|
97 |
|
98 |
def _split_generators(self, dl_manager):
|
dataset_infos.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"clean": {"description": "This Speech corpus has been developed as part of PhD work carried out by Nawar Halabi at the University of Southampton.\nThe corpus was recorded in south Levantine Arabic\n(Damascian accent) using a professional studio. Synthesized speech as an output using this corpus has produced a high quality, natural voice.\nNote that in order to limit the required storage for preparing this dataset, the audio\nis stored in the .flac format and is not converted to a float32 array. To convert, the audio\nfile to a float32 array, please make use of the `.map()` function as follows:\n\n\n```python\nimport soundfile as sf\n\ndef map_to_array(batch):\n speech_array, _ = sf.read(batch[\"file\"])\n batch[\"speech\"] = speech_array\n return batch\n\ndataset = dataset.map(map_to_array, remove_columns=[\"file\"])\n```\n", "citation": "@phdthesis{halabi2016modern,\n title={Modern standard Arabic phonetics for speech synthesis},\n author={Halabi, Nawar},\n year={2016},\n school={University of Southampton}\n}\n", "homepage": "http://en.arabicspeechcorpus.com/arabic-speech-corpus.zip", "license": "", "features": {"file": {"dtype": "string", "id": null, "_type": "Value"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "phonetic": {"dtype": "string", "id": null, "_type": "Value"}, "orthographic": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "file", "output": "text"}, "builder_name": "arabic_speech_corpus", "config_name": "clean", "version": {"version_str": "2.1.0", "description": "", "major": 2, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 1002365, "num_examples": 1813, "dataset_name": "arabic_speech_corpus"}, "test": {"name": "test", "num_bytes": 65784, "num_examples": 100, "dataset_name": "arabic_speech_corpus"}}, "download_checksums": {"http://en.arabicspeechcorpus.com/arabic-speech-corpus.zip": {"num_bytes": 1192302846, "checksum": "1df85219370fb1ebe8bfc46aa886265586411d04e7c1caa5a5b9847b3ad5f9de"}}, "download_size": 1192302846, "post_processing_size": null, "dataset_size": 1068149, "size_in_bytes": 1193370995}}
|
|
|
1 |
+
{"clean": {"description": "This Speech corpus has been developed as part of PhD work carried out by Nawar Halabi at the University of Southampton.\nThe corpus was recorded in south Levantine Arabic\n(Damascian accent) using a professional studio. Synthesized speech as an output using this corpus has produced a high quality, natural voice.\nNote that in order to limit the required storage for preparing this dataset, the audio\nis stored in the .flac format and is not converted to a float32 array. To convert, the audio\nfile to a float32 array, please make use of the `.map()` function as follows:\n\n\n```python\nimport soundfile as sf\n\ndef map_to_array(batch):\n speech_array, _ = sf.read(batch[\"file\"])\n batch[\"speech\"] = speech_array\n return batch\n\ndataset = dataset.map(map_to_array, remove_columns=[\"file\"])\n```\n", "citation": "@phdthesis{halabi2016modern,\n title={Modern standard Arabic phonetics for speech synthesis},\n author={Halabi, Nawar},\n year={2016},\n school={University of Southampton}\n}\n", "homepage": "http://en.arabicspeechcorpus.com/arabic-speech-corpus.zip", "license": "", "features": {"file": {"dtype": "string", "id": null, "_type": "Value"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "phonetic": {"dtype": "string", "id": null, "_type": "Value"}, "orthographic": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "file", "output": "text"}, "task_templates": [{"task": "automatic-speech-recognition", "audio_file_path_column": "file", "transcription_column": "text"}], "builder_name": "arabic_speech_corpus", "config_name": "clean", "version": {"version_str": "2.1.0", "description": "", "major": 2, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 1002365, "num_examples": 1813, "dataset_name": "arabic_speech_corpus"}, "test": {"name": "test", "num_bytes": 65784, "num_examples": 100, "dataset_name": "arabic_speech_corpus"}}, "download_checksums": {"http://en.arabicspeechcorpus.com/arabic-speech-corpus.zip": {"num_bytes": 1192302846, "checksum": "1df85219370fb1ebe8bfc46aa886265586411d04e7c1caa5a5b9847b3ad5f9de"}}, "download_size": 1192302846, "post_processing_size": null, "dataset_size": 1068149, "size_in_bytes": 1193370995}}
|