Datasets:
Languages:
Sundanese
Tags:
speech-recognition
Update asr_sundanese.py
Browse files- asr_sundanese.py +1 -1
asr_sundanese.py
CHANGED
@@ -122,7 +122,7 @@ class SuIdASR(datasets.GeneratorBasedBuilder):
|
|
122 |
for line in tsv_file:
|
123 |
audio_id, speaker_id, transcription_text = line[0], line[1], line[2]
|
124 |
|
125 |
-
wav_path = os.path.join(filepath, "asr_sundanese", "
|
126 |
|
127 |
if os.path.exists(wav_path):
|
128 |
if self.config.schema == "source":
|
|
|
122 |
for line in tsv_file:
|
123 |
audio_id, speaker_id, transcription_text = line[0], line[1], line[2]
|
124 |
|
125 |
+
wav_path = os.path.join(filepath, "asr_sundanese", "{}.flac".format(audio_id))
|
126 |
|
127 |
if os.path.exists(wav_path):
|
128 |
if self.config.schema == "source":
|