Datasets:
Languages:
Javanese
Tags:
speech-recognition
Update jv_id_asr.py
Browse files- jv_id_asr.py +1 -1
jv_id_asr.py
CHANGED
@@ -140,7 +140,7 @@ class JvIdASR(datasets.GeneratorBasedBuilder):
|
|
140 |
tsv_file = csv.reader(f, delimiter="\t")
|
141 |
for line in tsv_file:
|
142 |
audio_id, sp_id, text = line[0], line[1], line[2]
|
143 |
-
wav_path = os.path.join(filepath, "asr_javanese", "data", "{}
|
144 |
|
145 |
if os.path.exists(wav_path):
|
146 |
if self.config.schema == "source":
|
|
|
140 |
tsv_file = csv.reader(f, delimiter="\t")
|
141 |
for line in tsv_file:
|
142 |
audio_id, sp_id, text = line[0], line[1], line[2]
|
143 |
+
wav_path = os.path.join(filepath, "asr_javanese", "data", "{}.flac".format(audio_id))
|
144 |
|
145 |
if os.path.exists(wav_path):
|
146 |
if self.config.schema == "source":
|