I just need a speech recognition library in linux. Then I choose CMU Sphinx, and use pocketSphinx with python. I test that demo. This example runs well in my computer with poor accuracy.
I know that I need a language model, and I have downloaded it. So, How to set my pocketSphinx use that ‘lm’. I mean, How to fix that demo file to use that language model. (and acoustic model.)
Language model is configured through the property of the pocketsphinx gstreamer component. Instead of
Use
You can configure other properties of pocketsphinx component too. Use gst-inspect to read the list.