mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-08 00:24:19 +00:00
minor update on text norm
This commit is contained in:
parent
fae87b3009
commit
b45d83fa53
@ -145,6 +145,7 @@ def replace_silphone(text: str) -> str:
|
||||
text = text.replace("[NOISE OF MOVING PHONE]", " ")
|
||||
text = text.replace("[SOUND OF RUNNING WATER]", " ")
|
||||
text = text.replace("[CHANNEL]", " ")
|
||||
text = text.replace("[SILENCE]", " ")
|
||||
text = text.replace("-[W]HERE", "WHERE")
|
||||
text = text.replace("Y[OU]I-", "YOU I")
|
||||
text = text.replace("-[A]ND", "AND")
|
||||
|
Loading…
x
Reference in New Issue
Block a user