mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-17 13:12:19 +00:00
small fix
This commit is contained in:
parent
50b97d4332
commit
4f4bb79161
@ -42,7 +42,6 @@ class TextNormlizer:
|
||||
|
||||
# Remove extra spaces
|
||||
text = re.sub(r"\s+", " ", text).strip()
|
||||
normalized_text = re.sub(r"\s+", " ", normalized_text).strip()
|
||||
|
||||
text = self.en_tn_model.normalize(text)
|
||||
return text.strip()
|
||||
|
Loading…
x
Reference in New Issue
Block a user