Voice Recognition Implementation
-
@mrjj Hi i am trying voice recognition with julius, I have installed julius on my ubuntu system and configured it, i have created one my.jconfg file from the sample.jconfg file which i got after installing julius. but when i run that, I get the following output
ubuntu@ub:~/Documents/julius-4.2.2/test$ padsp julius -C my.jconf
STAT: include config: my.jconf<<< please speak >>>^C
I am not sure is it running or not, How to confirm that it is running or not ?
-
@mrjj But one problem is there...when i change the .grammar and .voca files for different commands it gives error i followed the steps given in this link http://www.voxforge.org/home/dev/acousticmodels/linux/create/htkjulius/tutorial/data-prep/step-1 to generate .grammar and .voca files and generate their respective .dict and .dfa files but when i run it gives, error in loading model...it only worked for the test example which was provided in that link.... :-(
When i run the command after changing that files this is the output...
ubuntu@ub:~/Documents/julius-4.2.2/SampleTest$ padsp julius -C my.jconfSTAT: include config: my.jconf
ERROR: Error in loading model
ubuntu@ub:~/Documents/julius-4.2.2/SampleTest$ ^C -
Sorry i got the test example from the following link...
http://kamilskowron.pl/en/linux/julius-step-by-step-step-2-basic-configuration/ -
@mrjj No i have not tried that...To know the process how to generate my own grammar i thought i will change the .grammar and .voca file for small commands (my own commands) and generate the .dict and .dfa files for that and try but was not successful...
I will try his next sample for media player.
-
@mrjj ya for those samples it is working fine...but when i generate my own .grammar and .voca file with same procedure i am not getting output it is showing me errors..i am following the steps as it is...but no output. i am not getting what is going wrong..:-(
-
Ok , can mean many things.
http://voxforge.org/home/dev/acousticmodels/linux/create/htkjulius/tutorial/run-julian/comments/error-in-loading-model-when-executing-julius
Example
" the model tied state triphone you use is not contain sp."So , you should check the modification you make and read docs on each command. etc to avoid this.
-
Hi Always good starting reading docs.
https://julius.osdn.jp/juliusbook/en/desc_install.html% make install
"which also installes headers and libraries as well as the binaries."It means that it should generate a .so ? or .a file file and some .h files
( u must understand types of libs possible)
http://www.yolinux.com/TUTORIALS/LibraryArchives-StaticAndDynamic.htmlyou need to find out the exact names of those.
Then you need to add to a Qt project
http://doc.qt.io/qtcreator/creator-project-qmake-libraries.htmlMake sure u fill it out correctly. Name wise.
Then you need find c++ example to see what functions to call etc.
and it should be it.This might be ok sample
https://github.com/julius-speech/julius/blob/master/julius-simple/julius-simple.c -
@mrjj u said,
make install
"which also installes headers and libraries as well as the binaries."=
It means that it should generate a .so ? or .a file file and some .h filesNow I have configured and i run make and make install commands
After running sudo make install command, where i can get these .so or .a file in system (means which path) ?