mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-19 05:54:20 +00:00
from local
This commit is contained in:
parent
a96c59053e
commit
f9d537f9ee
Binary file not shown.
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user