rhasspy / piper-phonemize

C++ library for converting text to phonemes for Piper
MIT License
89 stars 77 forks source link

Missing some phoneme ids in Latvian #6

Open raivisdejus opened 1 year ago

raivisdejus commented 1 year ago

I am seeing errors about missing phoneme ids for these Latvian (lv) words vilciens, nevajag

First example

echo "vilciens" | lib/piper_phonemize -l lv --espeak-data lib/espeak-ng-data/
Missing phoneme: \u0361 for: {"phoneme_ids":[1,0,101,0,120,0,21,0,24,0,32,0,31,0,21,0,18,0,26,0,31,0,2],"phonemes":["ʋ","ˈ","i","l","t","͡","s","i","e","n","s"],"processed_text":"vilciens","text":"vilciens"}

Second example

echo "nevajag" | lib/piper_phonemize -l lv --espeak-data lib/espeak-ng-data/
Missing phoneme: \u0060 for: {"phoneme_ids":[1,0,26,0,120,0,18,0,101,0,14,0,22,0,14,0,66,0,2],"phonemes":["n","ˈ","e","ʋ","a","`","j","a","`","ɡ"],"processed_text":"nevajag","text":"nevajag"}