minor update on text norm

This commit is contained in:
JinZr 2023-09-04 11:17:46 +08:00
parent fae87b3009
commit b45d83fa53

View File

@ -145,6 +145,7 @@ def replace_silphone(text: str) -> str:
text = text.replace("[NOISE OF MOVING PHONE]", " ") text = text.replace("[NOISE OF MOVING PHONE]", " ")
text = text.replace("[SOUND OF RUNNING WATER]", " ") text = text.replace("[SOUND OF RUNNING WATER]", " ")
text = text.replace("[CHANNEL]", " ") text = text.replace("[CHANNEL]", " ")
text = text.replace("[SILENCE]", " ")
text = text.replace("-[W]HERE", "WHERE") text = text.replace("-[W]HERE", "WHERE")
text = text.replace("Y[OU]I-", "YOU I") text = text.replace("Y[OU]I-", "YOU I")
text = text.replace("-[A]ND", "AND") text = text.replace("-[A]ND", "AND")