takengo2262 commited on
Commit
716d876
1 Parent(s): 3bb05c0

Update bvcc-voicemos2022.py

Browse files
Files changed (1) hide show
  1. bvcc-voicemos2022.py +2 -2
bvcc-voicemos2022.py CHANGED
@@ -248,10 +248,10 @@ class BvccDataset(datasets.GeneratorBasedBuilder):
248
  for key, row in enumerate(f.readlines()):
249
  data = row.strip().split(",")
250
  if self.config.name == "main_track":
251
- sysID, uttID = data[0].split("-")
252
  uttID = uttID.replace(".wav", "")
253
  if len(data) > 1:
254
- score = data[1]
255
  else:
256
  score = 999
257
  # Yields examples as (key, example) tuples
 
248
  for key, row in enumerate(f.readlines()):
249
  data = row.strip().split(",")
250
  if self.config.name == "main_track":
251
+ sysID, uttID = data[1].split("-")
252
  uttID = uttID.replace(".wav", "")
253
  if len(data) > 1:
254
+ score = data[2]
255
  else:
256
  score = 999
257
  # Yields examples as (key, example) tuples