as-ideas / DeepPhonemizer

Grapheme to phoneme conversion with deep learning.
MIT License
352 stars 38 forks source link

latin_ipa_forward set to en_us pronounces "is" as "aɪz" rather than "ɪz" #35

Open R2D2FISH opened 1 year ago

R2D2FISH commented 1 year ago

Tried swapping out the default phonemizer in ForwardTacotron for DeepPhonemizer and noticed the model was very hesitant to learn attention. Took a look at the actual output and it was using "aɪz" instead of "ɪz". I have since switched to the cmudict version which does not have this issue, but it would be nice to have this fixed, especially for such a common word. Looking at the actual wikipron dataset I see that the phonemes for "is" are correct, so I'm not sure what's causing this.

SeymourNickelson commented 9 months ago

I just noticed the same thing using that pretrained model. If you look at the entries in lang_phenome_dict (which by default Phonemizer will use before running inference) "is" is mapped to "aiz" so presumably the training data for that model needs to be fixed and the model needs to be retrained.