arabic_speech_corpus

参考:

clean

使用以下命令在 TFDS 中加载此数据集:

ds = tfds.load('huggingface:arabic_speech_corpus/clean')
  • 说明
This Speech corpus has been developed as part of PhD work carried out by Nawar Halabi at the University of Southampton.
The corpus was recorded in south Levantine Arabic
(Damascian accent) using a professional studio. Synthesized speech as an output using this corpus has produced a high quality, natural voice.
Note that in order to limit the required storage for preparing this dataset, the audio
is stored in the .flac format and is not converted to a float32 array. To convert, the audio
file to a float32 array, please make use of the `.map()` function as follows:


python
import soundfile as sf

def map_to_array(batch):
    speech_array, _ = sf.read(batch["file"])
    batch["speech"] = speech_array
    return batch

dataset = dataset.map(map_to_array, remove_columns=["file"])
  • 许可:无已知许可
  • 版本:2.1.0
  • 拆分
拆分 样本
'test' 100
'train' 1813
  • 特征
{
    "file": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "audio": {
        "sampling_rate": 48000,
        "mono": true,
        "decode": true,
        "id": null,
        "_type": "Audio"
    },
    "phonetic": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "orthographic": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}