Merge pull request #469 from eltociear/patch-1

typo fix
This commit is contained in:
manmay nakhashi 2023-07-09 17:54:20 +05:30 committed by GitHub
commit a6b1526462
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,7 +132,7 @@ def basic_cleaners(text):
def transliteration_cleaners(text):
'''Pipeline for non-English text that transliterates to ASCII.'''
'''Pipeline for non-English text that transliterate to ASCII.'''
text = convert_to_ascii(text)
text = lowercase(text)
text = collapse_whitespace(text)
@ -190,4 +190,4 @@ class VoiceBpeTokenizer:
txt = txt.replace('[SPACE]', ' ')
txt = txt.replace('[STOP]', '')
txt = txt.replace('[UNK]', '')
return txt
return txt