Reply To: Using Russian acoustic model

Home Forums Reply To: Using Russian acoustic model

#1015300
Halle Winkler
Politepix

It is possible to turn a DMP back into a text file, but you don’t actually need to do that. The DMP isn’t part of the acoustic model, it is just a plain probability model that says “this or that word is most likely to be combined with the other word when the user speaks, or be by itself, etc”. It doesn’t know anything about what the words sound like, it just helps accuracy by trying to predict tendencies in speech based purely on the input strings that you give it. LanguageModelGenerator should be able to create your DMP just fine so you don’t have to do anything with that. The issue is that the phonetic dictionary lookup method that LanguageModelGenerator uses currently expects that the phonemes will match an acoustic model with English language phonemes, so it’s the .dic that it produces that you have to throw out. If you start Pocketsphinx using a DMP that LanguageModelGenerator creates, but you create your own .dic by hand using selected entries from the acoustic model’s .dic file, I think it should work for you.