Update bvcc-voicemos2022.py
Browse files- bvcc-voicemos2022.py +1 -1
bvcc-voicemos2022.py
CHANGED
@@ -219,7 +219,7 @@ class BvccDataset(datasets.GeneratorBasedBuilder):
|
|
219 |
# The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
|
220 |
with open(filepath, encoding="utf-8") as f:
|
221 |
for key, row in enumerate(f.readlines()):
|
222 |
-
data = row.split(',')
|
223 |
if self.config.name == "main_track":
|
224 |
sysID, uttID= data[0].split('-')
|
225 |
uttID= uttID.replace('.wav', '')
|
|
|
219 |
# The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
|
220 |
with open(filepath, encoding="utf-8") as f:
|
221 |
for key, row in enumerate(f.readlines()):
|
222 |
+
data = row.strip().split(',')
|
223 |
if self.config.name == "main_track":
|
224 |
sysID, uttID= data[0].split('-')
|
225 |
uttID= uttID.replace('.wav', '')
|