Menu

can't find sphinx_decode.cfg

Help
ajito
2013-06-15
2016-06-21
  • ajito

    ajito - 2013-06-15

    I'm following the sphinxtrain tutorial and at this point: http://cmusphinx.sourceforge.net/wiki/tutorialam#configure_decoding_parameters it says I need a file called sphinx_decode.cfg, but I cannot find it anywhere. When I launch sphinxtrain run I get an error about an4-1-1.match that cannot be found.

     
  • Nickolay V. Shmyrev

    Decoding parameters are now configured in sphinx_train.cfg

     
    • ajito

      ajito - 2013-06-15

      thank you very much.

      After I launch sphinxtrain run i get the following error:

      Can't open /home/ajiito/Desktop/sphinx/an4/result/an4-1-1.match
      word_align.pl failed with error code 65280 at /usr/local/lib/sphinxtrain/scripts/decode/slave.pl line 173.

      The error rate is not computed.

      Looking in the log i find many errors like this one: ERROR: "backward.c", line 421: Failed to align audio to trancript: final state of the search is not reached

       
  • rongtim

    rongtim - 2013-08-01

    in my case, 16hkz 16bit + sphinxtrain-1.0.8 version ==== nothing need to be changed.
    you can compare ur sphinx_train.cfg to this : http://cmusphinx.sourceforge.net/wiki/tutorialam#setup_the_format_of_database_audio

     
    • kalaivanan தமிழ்

      THIS IS IN CMU WEBSITE

      $DEC_CFG_DICTIONARY = "$DEC_CFG_BASE_DIR/etc/$DEC_CFG_DB_NAME.dic";
      $DEC_CFG_FILLERDICT = "$DEC_CFG_BASE_DIR/etc/$DEC_CFG_DB_NAME.filler";
      $DEC_CFG_LISTOFFILES = "$DEC_CFG_BASE_DIR/etc/${DEC_CFG_DB_NAME}_test.fileids";
      $DEC_CFG_TRANSCRIPTFILE = "$DEC_CFG_BASE_DIR/etc/${DEC_CFG_DB_NAME}_test.transcription";
      $DEC_CFG_RESULT_DIR = "$DEC_CFG_BASE_DIR/result";

      THIS IN MY .cfg FILE

      $DEC_CFG_DICTIONARY = "$CFG_BASE_DIR/etc/$CFG_DB_NAME.dic";
      $DEC_CFG_FILLERDICT = "$CFG_BASE_DIR/etc/$CFG_DB_NAME.filler";
      $DEC_CFG_LISTOFFILES = "$CFG_BASE_DIR/etc/${CFG_DB_NAME}_test.fileids";
      $DEC_CFG_TRANSCRIPTFILE = "$CFG_BASE_DIR/etc/${CFG_DB_NAME}_test.transcription";
      $DEC_CFG_RESULT_DIR = "$CFG_BASE_DIR/result";

       
  • rongtim

    rongtim - 2013-08-01

    those are the same.
    Do we need the emply line at the end of test.fileids , test.discription , train.fileids , train.discription

     
  • Nickolay V. Shmyrev

    Do we need the emply line at the end of test.fileids , test.discription , train.fileids , train.discription

    Yes

     
  • Jacky

    Jacky - 2016-06-17

    Good day all,
    Please help me fix error :
    Aligning result to find error rate
    word_align.pl failed with error code 65280 at usr/lib/.../decode/slave.pl line 173.

    And in log file showing one WARN: "ms_mngay.c", line 145: -topn argument (4) invalid or > #density codewords penalty 0.

    On myfile.html showing :
    MODULE: DECODE Decoding using models previously trained
    Decoding 8 segments starting at 0 (part 1 of 1)
    pocketsphinx_batch Log_file complete

    Aligning result to find error rate


    Thank!

     
    • Nickolay V. Shmyrev

      You need to provide a full model training folder. You can upload it to google drive and share a link.

       
      • Jacky

        Jacky - 2016-06-21

        Thank Nickolay V. Shmyrev, after I read some answers of you in this site, I fixed complete error!
        I didn't remember add SIL in phone list. Thank you very much!

         

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.