Kyubyong / g2p

g2p: English Grapheme To Phoneme Conversion
Apache License 2.0
791 stars 129 forks source link

predict homograph words phoneme #4

Open KnowBetterHelps opened 5 years ago

KnowBetterHelps commented 5 years ago

there are some words, may have different pronunciation but have same POS-tagging, like

YOURSELF Y_B AO1_I R_I S_I EH0_I L_I F_E YOURSELF Y_B ER0_I S_I EH1_I L_I F_E YOURSELF Y_B UH0_I R_I S_I EH1_I L_I F_E

from kaldi librispeech align_lexicon.txt

how do I get the right pronunciation?

It would be my great appreciation if you could give any help

KnowBetterHelps commented 5 years ago

I mean the input is one sentence, and there are some homograph words in it, I want to get the right pronunciation of ever word in the sentence