However this seems to work for python libraries and my copy of audiogrep can only use the system installed pocketsphinx4 5prealpha that stores the modules in a completely different path (/usr/local/share/pocketsphinx/model, instead than under "python2.7") and with a totally different structure.
I really don't know how to compile or adapt my italian model to the new pocketsphinx 4 5 prealpha.
Every help is welcome a lot
Thanks in advance
Lv
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks for the fast reply.
I tried to "overwrite" the en-us folder content with files having same name and files having same extension, renaming them, to "trick the system" to use italian instead of english.
But it gives me a error message and application quit.
I add some screenshots of the files structure: it will help to explain.
Under the usr/loca... path I've the structure of the english-US dictionary and other resources.
Under the pocketsphinx-data, I've instead the structure of the italian model, that looks quite different about subfolder name and files names.
Thanks a lot
Hello, I've succedeed installing audiogrep, a small tool to grep inside audio files, that relies on pocketsphinx and uses it as engine.
I'm quite a newbie about programing, so my searches on CMU Sphinx website have been not very useful to understand how to setup the italian language,
I found on the web also the instructions to compile the model i can download at https://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/Italian/ , till i can obtain something like the one I already found compiled here -> https://github.com/Uberi/speech_recognition/files/683258/it-IT.zip
However this seems to work for python libraries and my copy of audiogrep can only use the system installed pocketsphinx4 5prealpha that stores the modules in a completely different path (/usr/local/share/pocketsphinx/model, instead than under "python2.7") and with a totally different structure.
I really don't know how to compile or adapt my italian model to the new pocketsphinx 4 5 prealpha.
Every help is welcome a lot
Thanks in advance
Lv
Put files into the same folder with same names and it will work. You have to ask more specific questions if you need more help.
thanks for the fast reply.
I tried to "overwrite" the en-us folder content with files having same name and files having same extension, renaming them, to "trick the system" to use italian instead of english.
But it gives me a error message and application quit.
I add some screenshots of the files structure: it will help to explain.
Under the usr/loca... path I've the structure of the english-US dictionary and other resources.
Under the pocketsphinx-data, I've instead the structure of the italian model, that looks quite different about subfolder name and files names.
Thanks a lot
Lv
It is better to describe error in more details if you need help. It is impossible to read your screen from here.
To me it looks identical. Same files in same location.
OK, now I'm not at pc, later I will send ya the relative error message.
Thanks again, I appreciate your work a lot