File size: 180 Bytes
9ba7d3b |
1 2 3 4 5 |
from G2P_lexicon import g2p_en_lexicon
text = "text, numbers, and some strange symbols !№;% 21"
g2p = g2p_en_lexicon()
phonemes = g2p(text, with_stress=False)
print(phonemes) |
9ba7d3b |
1 2 3 4 5 |
from G2P_lexicon import g2p_en_lexicon
text = "text, numbers, and some strange symbols !№;% 21"
g2p = g2p_en_lexicon()
phonemes = g2p(text, with_stress=False)
print(phonemes) |