Fix newlines
Browse files
multilingual_librispeech.py
CHANGED
@@ -153,7 +153,7 @@ class MultilingualLibrispeech(datasets.GeneratorBasedBuilder):
|
|
153 |
transcripts = dict()
|
154 |
with open(transcript_path, "r", encoding="utf-8") as file:
|
155 |
for line in file:
|
156 |
-
audio_id, transcript = line.split("\t")
|
157 |
transcripts[audio_id] = transcript
|
158 |
|
159 |
limited_ids, limited_ids_archives_names = [], []
|
|
|
153 |
transcripts = dict()
|
154 |
with open(transcript_path, "r", encoding="utf-8") as file:
|
155 |
for line in file:
|
156 |
+
audio_id, transcript = line.strip().split("\t")
|
157 |
transcripts[audio_id] = transcript
|
158 |
|
159 |
limited_ids, limited_ids_archives_names = [], []
|