mirror of https://github.com/coqui-ai/TTS.git
Simple text cleaner for "hi"
parent
6dd43b0ce2
commit
32065139e7
|
@ -636,6 +636,9 @@ class VoiceBpeTokenizer:
|
|||
txt = korean_transliterate(txt)
|
||||
elif lang == "ja":
|
||||
txt = japanese_cleaners(txt, self.katsu)
|
||||
elif lang == "hi":
|
||||
# @manmay will implement this
|
||||
txt = basic_cleaners(txt)
|
||||
else:
|
||||
raise NotImplementedError(f"Language '{lang}' is not supported.")
|
||||
return txt
|
||||
|
|
Loading…
Reference in New Issue