I have been hoping to us sphinx3 for voice recognition in a python project I am currently working on. I have been following the tutorial here: http://sphinx.subwiki.com/sphinx/index.php/Hello_World_Decoder_QuickStart_Guide
and using the 0.7 trunk for the python interfaces. Everything seems to install fine but when I run:
sphinx3_livepretend ctlfile . cfgfile
I get the following message and error.
INFO: cmd_ln.c(599): Cannot open configuration file $SPHINX_ROOT/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/feat.params for reading
SYSTEM_ERROR: "mdef.c", line 684: fopen($SPHINX_ROOT/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/mdef,r) failed
; No such file or directory
There is definitely no feat.params file installed in that directory but it's only an info message so I'm not sure if there is supposed to be.
There is an mdef file; is mdef,r a typo in the code or something?
I'm not really sure where to go from here. Any help would be greatly appreciated.
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the tips. I have installed sphinx in /usr/src/sphinx so I'll be sure to add that to the code. From what I understand the file it should be looking for it is /usr/src/sphinx/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/feat.params. When I go to this directory the feat.param file is not present. Is this file generated when I run sphinx3_livepretend or something?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's an information message not an error, don't care about feat.param at all, they are not mandatory. They present only in a newly created models, not in old ones like hub4.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have been hoping to us sphinx3 for voice recognition in a python project I am currently working on. I have been following the tutorial here: http://sphinx.subwiki.com/sphinx/index.php/Hello_World_Decoder_QuickStart_Guide
and using the 0.7 trunk for the python interfaces. Everything seems to install fine but when I run:
sphinx3_livepretend ctlfile . cfgfile
I get the following message and error.
INFO: cmd_ln.c(599): Cannot open configuration file $SPHINX_ROOT/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/feat.params for reading
SYSTEM_ERROR: "mdef.c", line 684: fopen($SPHINX_ROOT/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/mdef,r) failed
; No such file or directory
There is definitely no feat.params file installed in that directory but it's only an info message so I'm not sure if there is supposed to be.
There is an mdef file; is mdef,r a typo in the code or something?
I'm not really sure where to go from here. Any help would be greatly appreciated.
Thanks!
Tuturial assumes that you substitute the value of $SPHINX_ROOT in the code. Replace $SPHINX_ROOT by actual location of sphinx3 files.
"fopen(file,r)" means that program fails to find file named "file" and open it in a read mode (,r). So there is no typo.
Thanks for the tips. I have installed sphinx in /usr/src/sphinx so I'll be sure to add that to the code. From what I understand the file it should be looking for it is /usr/src/sphinx/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/feat.params. When I go to this directory the feat.param file is not present. Is this file generated when I run sphinx3_livepretend or something?
It's an information message not an error, don't care about feat.param at all, they are not mandatory. They present only in a newly created models, not in old ones like hub4.