diff --git a/tortoise/utils/tokenizer.py b/tortoise/utils/tokenizer.py index 3ab1c31..70bcdb6 100644 --- a/tortoise/utils/tokenizer.py +++ b/tortoise/utils/tokenizer.py @@ -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 \ No newline at end of file + return txt