Kyubyong/g2p

predict homograph words phoneme

KnowBetterHelps opened this issue · 1 comments

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

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