Update jv_id_asr_split.py
Browse files- jv_id_asr_split.py +2 -2
jv_id_asr_split.py
CHANGED
|
@@ -176,7 +176,7 @@ class JvIdASR(datasets.GeneratorBasedBuilder):
|
|
| 176 |
"speaker_id": sp_id,
|
| 177 |
"path": wav_path,
|
| 178 |
"audio": wav_path,
|
| 179 |
-
"text": text,
|
| 180 |
}
|
| 181 |
yield audio_id, ex
|
| 182 |
elif self.config.schema == "seacrowd_sptext":
|
|
@@ -185,7 +185,7 @@ class JvIdASR(datasets.GeneratorBasedBuilder):
|
|
| 185 |
"speaker_id": sp_id,
|
| 186 |
"path": wav_path,
|
| 187 |
"audio": wav_path,
|
| 188 |
-
"text": text,
|
| 189 |
"metadata": {
|
| 190 |
"speaker_age": None,
|
| 191 |
"speaker_gender": None,
|
|
|
|
| 176 |
"speaker_id": sp_id,
|
| 177 |
"path": wav_path,
|
| 178 |
"audio": wav_path,
|
| 179 |
+
"text": text.lower(),
|
| 180 |
}
|
| 181 |
yield audio_id, ex
|
| 182 |
elif self.config.schema == "seacrowd_sptext":
|
|
|
|
| 185 |
"speaker_id": sp_id,
|
| 186 |
"path": wav_path,
|
| 187 |
"audio": wav_path,
|
| 188 |
+
"text": text.lower(),
|
| 189 |
"metadata": {
|
| 190 |
"speaker_age": None,
|
| 191 |
"speaker_gender": None,
|