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