Datasets:
this may result in empty text; skip if so
Browse files136 unmodified lines137138139140141142136 unmodified linestext = recording["text"]if self.config.name != "speech_no_norm":text = normalise(text)lang_part = pid[0:2]for num in ["1", "2"]:tar_path = f"{lang_part}/{pid}/{pid}_{bare_path}-{num}.wav"136 unmodified lines137138139140141142143144136 unmodified linestext = recording["text"]if self.config.name != "speech_no_norm":text = normalise(text)if text is None or text == "":continuelang_part = pid[0:2]for num in ["1", "2"]:tar_path = f"{lang_part}/{pid}/{pid}_{bare_path}-{num}.wav"
nst.py+2