cdminix commited on
Commit
ccc801d
·
verified ·
1 Parent(s): 7ebf1cd

Update libriheavy.py

Browse files
Files changed (1) hide show
  1. libriheavy.py +1 -1
libriheavy.py CHANGED
@@ -190,7 +190,7 @@ class Libriheavy(datasets.GeneratorBasedBuilder):
190
  "speaker_name": chunk["speaker_name"],
191
  "speaker_vec": npz_item["d_vector"][0],
192
  "audio": chunk["audio"],
193
- "text": " ".join([segment[2] for segment in utterance["word_segments"] if "<" not in segment[2]])
194
  "word_segments": [
195
  {"start": segment[0], "end": segment[1], "word": segment[2]} for segment in utterance["word_segments"]
196
  ],
 
190
  "speaker_name": chunk["speaker_name"],
191
  "speaker_vec": npz_item["d_vector"][0],
192
  "audio": chunk["audio"],
193
+ "text": " ".join([segment[2] for segment in utterance["word_segments"] if "<" not in segment[2]]),
194
  "word_segments": [
195
  {"start": segment[0], "end": segment[1], "word": segment[2]} for segment in utterance["word_segments"]
196
  ],