Update text_normlization.py

pull/2661/head
David An (An Hongliang) 3 years ago committed by GitHub
parent 92fd88ddaa
commit b36970412e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -73,7 +73,7 @@ class TextNormalizer():
def _post_replace(self, sentence: str) -> str: def _post_replace(self, sentence: str) -> str:
sentence = sentence.replace('/', '') sentence = sentence.replace('/', '')
sentence = sentence.replace('~', '').replace('','') sentence = sentence.replace('~', '').replace('', '')
return sentence return sentence

Loading…
Cancel
Save