I managed to perform the tutorial for pocketsphinx, and now I gathered the french materials and I'm curious about how to tell pocketspinhx to use them instead of the en-us ones.
I looked over Google but did not find anything about how to do that, could you help?
Thanks.
Regards,
Frack
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the tutorial, you read a raw file and display what's understood by pocketsphinx. The goal is to capture what's your mic will hear (the python file in the provided link do so).
I just modified some things in the python file to make it working for me.
First I adapted the model_dir, hmm, lm and dic variables since the directory and the names I use are not the same.
More important point, I remove the line : "config.set_string('-logfn', '/dev/null')" since for me it causes the file to crash when I launched it.
From there, you can then modify the model_dir, hmm, lm and dic to put whatever language configuration file you would like to test.
Hope this will help someone else.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I managed to perform the tutorial for pocketsphinx, and now I gathered the french materials and I'm curious about how to tell pocketspinhx to use them instead of the en-us ones.
I looked over Google but did not find anything about how to do that, could you help?
Thanks.
Regards,
Frack
Hi, I then update myself since I found how to do so.
The goal is to use the file you create during the tutorial (hello_ps.c) or to create an equivalent in python.
See this tutorial for more details : http://depado.markdownblog.com/2015-05-13-tutorial-on-pocketsphinx-with-python-3-4
In the tutorial, you read a raw file and display what's understood by pocketsphinx. The goal is to capture what's your mic will hear (the python file in the provided link do so).
I just modified some things in the python file to make it working for me.
First I adapted the model_dir, hmm, lm and dic variables since the directory and the names I use are not the same.
More important point, I remove the line : "config.set_string('-logfn', '/dev/null')" since for me it causes the file to crash when I launched it.
From there, you can then modify the model_dir, hmm, lm and dic to put whatever language configuration file you would like to test.
Hope this will help someone else.