Menu

hub4 feat.params and mdef files?

Help
r3dw0rm
2007-11-09
2012-09-22
  • r3dw0rm

    r3dw0rm - 2007-11-09

    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!

     
    • Nickolay V. Shmyrev

      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.

       
      • r3dw0rm

        r3dw0rm - 2007-11-09

        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?

         
        • Nickolay V. Shmyrev

          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.

           

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.