Simple text cleaner for "hi"

pull/3300/head
Eren G??lge 2023-11-24 15:14:34 +01:00
parent 6dd43b0ce2
commit 32065139e7
1 changed files with 3 additions and 0 deletions

View File

@ -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