show phonemes
Browse files- vietTTS/nat/text2mel.py +2 -0
vietTTS/nat/text2mel.py
CHANGED
@@ -36,6 +36,8 @@ def predict_duration(tokens, ckpt_file):
|
|
36 |
|
37 |
def text2tokens(text, lexicon_fn):
|
38 |
phonemes = load_phonemes_set()
|
|
|
|
|
39 |
lexicon = load_lexicon(lexicon_fn)
|
40 |
|
41 |
words = text.strip().lower().split()
|
|
|
36 |
|
37 |
def text2tokens(text, lexicon_fn):
|
38 |
phonemes = load_phonemes_set()
|
39 |
+
print("phonemes : ")
|
40 |
+
print(phonemes)
|
41 |
lexicon = load_lexicon(lexicon_fn)
|
42 |
|
43 |
words = text.strip().lower().split()
|