We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c792d7 commit f5bd97dCopy full SHA for f5bd97d
1 file changed
tests/collections/common/tokenizers/text_to_speech/test_tts_tokenizers.py
@@ -56,6 +56,7 @@ class TestTTSTokenizers:
56
"नमस्ते": ["nəmˈʌsteː"],
57
"दुनिया": ["dˈʊnɪjˌã"],
58
"अच्छा": ["ˈʌtʃtʃʰaː"],
59
+ "है": ["hɛː"],
60
}
61
PHONEME_DICT_PT_BR = {
62
"Olá": ["olˈa"],
@@ -273,7 +274,7 @@ def test_ipa_tokenizer_pt_br(self):
273
274
def test_ipa_tokenizer_hi_in(self):
275
"""hi-IN: code-switching (Hindi + English) + Devanagari punctuation (danda)."""
276
input_text = "नमस्ते world, अच्छा है।"
- expected_output = "nəmˈʌsteː ˈwɝɫd, ˈʌtʃtʃʰaː है।"
277
+ expected_output = "nəmˈʌsteː ˈwɝɫd, ˈʌtʃtʃʰaː hɛː।"
278
g2p = IpaG2p(
279
phoneme_dict=[self.PHONEME_DICT_HI, self.PHONEME_DICT_EN],
280
locale="hi-IN",
0 commit comments