Datasets:
laubonghaudoi
commited on
Commit
•
3bf93fd
1
Parent(s):
a6aa968
Update README.md
Browse files
README.md
CHANGED
@@ -65,11 +65,14 @@ TTS 效果演示:https://huggingface.co/spaces/laubonghaudoi/zoengjyutgaai_tts
|
|
65 |
- 所有文本都使用全角標點,冇半角標點。
|
66 |
- 所有文本都用漢字轉寫,無阿拉伯數字無英文字母
|
67 |
- 所有音頻源都存放喺`/webm`,為方便直接用作訓練數據,切分後嘅音頻都重採樣升 44100Hz 放喺 `wav/`
|
68 |
-
|
69 |
-
|
|
|
70 |
|
71 |
## 使用
|
72 |
|
|
|
|
|
73 |
```python
|
74 |
from datasets import load_dataset
|
75 |
|
@@ -144,6 +147,9 @@ TTS demo: https://huggingface.co/spaces/laubonghaudoi/zoengjyutgaai_tts
|
|
144 |
- All transcriptions use full-width punctuations, no half-width punctuations is used.
|
145 |
- All transcriptions are in Chinese characters, no Arabic numbers or Latin letters.
|
146 |
- All source audio are stored in `/webm`. For the convenice of training, segmented audios are resampled into 44.1 kHz and stored in `wav/`.
|
|
|
|
|
|
|
147 |
|
148 |
## Usage
|
149 |
|
|
|
65 |
- 所有文本都使用全角標點,冇半角標點。
|
66 |
- 所有文本都用漢字轉寫,無阿拉伯數字無英文字母
|
67 |
- 所有音頻源都存放喺`/webm`,為方便直接用作訓練數據,切分後嘅音頻都重採樣升 44100Hz 放喺 `wav/`
|
68 |
+
- 所有源字幕 SRT 文件都存放喺 `srt/` 路經下,搭配 webm 可以直接作為帶字幕錄音賞聽。
|
69 |
+
- `cut.py` 係切分腳本,可以將對應嘅 wav 根據 srt 切分成短句並生成一個文本轉寫 csv。
|
70 |
+
- `stats.py` 係統計腳本,運行佢就會顯示成個數據集嘅各項統計數據。
|
71 |
|
72 |
## 使用
|
73 |
|
74 |
+
要使用呢個數據集,可以喺 Python 入面直接跑:
|
75 |
+
|
76 |
```python
|
77 |
from datasets import load_dataset
|
78 |
|
|
|
147 |
- All transcriptions use full-width punctuations, no half-width punctuations is used.
|
148 |
- All transcriptions are in Chinese characters, no Arabic numbers or Latin letters.
|
149 |
- All source audio are stored in `/webm`. For the convenice of training, segmented audios are resampled into 44.1 kHz and stored in `wav/`.
|
150 |
+
- All source subtitle SRT files are stored in `srt/`. Use them with the webm files to enjoy subtitled storytelling pieces.
|
151 |
+
- `cut.py` is the script for cutting wav audios into smaller senteneces based on the srt, and generates a csv file for transcriptions.
|
152 |
+
- `stats.py` is the script for showing stats of this datasets.
|
153 |
|
154 |
## Usage
|
155 |
|