mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-12 11:32:19 +00:00
update
This commit is contained in:
parent
84759a2244
commit
b73f0550ef
@ -279,6 +279,7 @@ class TextNormalizer:
|
||||
return None
|
||||
|
||||
text = self.en_tn_model.normalize(text)
|
||||
text = re.sub(r"\s+", " ", text).strip()
|
||||
|
||||
cut["supervisions"][0]["text"] = text
|
||||
del cut["supervisions"][0]["custom"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user