from local

This commit is contained in:
dohe0342 2023-06-12 00:37:14 +09:00
parent a96c59053e
commit f9d537f9ee
2 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ def prepare_tedlium(
rec_id, _, _, start, end, _, *words = l.split()
start, end = float(start), float(end)
text = " ".join(words).replace("{NOISE}", "[NOISE]")
text = text.replace(" '", "'")
if text == "ignore_time_segment_in_scoring":
continue
segments.append(