Menu

PocketSphinx decode problem with slave.pl

Help
2009-03-01
2012-09-22
  • Jason Augustyn

    Jason Augustyn - 2009-03-01

    Hi, I'm following the tutorial and have gotten all necessary components of PocketSphinx to compile under linux. However, when I get to the step of running perl scripts_pl/decode/slave.pl I get the following:

    MODULE: DECODE Decoding using models previously trained
    Decoding 130 segments starting at 0 (part 1 of 1)
    0% FATAL_ERROR: "batch.c", line 461: PocketSphinx decoder init failed

    This step had 1 ERROR messages and 0 WARNING messages. Please check the log file for details.
    Failed to start /usr/sphinx/an4/bin/pocketsphinx_batch
    Aligning results to find error rate
    Can't open /usr/sphinx/an4/result/an4-1-1.match
    word_align.pl failed with error code 65280 at scripts_pl/decode/slave.pl line 172.

    Checking the log file, everything looks OK up to the end, where I find:
    ERROR: "acmod.c", line 88: Must specify -mdef or -hmm
    FATAL_ERROR: "batch.c", line 461: PocketSphinx decoder init failed

    Thanks in advance for any help.

     
    • Jason Augustyn

      Jason Augustyn - 2009-03-01

      Problem solved - I missed the part in the tutorial about editing sphinx_train.cfg for PocketSphinx...doh! Thanks, Nickolay.

       
    • Nickolay V. Shmyrev

      > Failed to start /usr/sphinx/an4/bin/pocketsphinx_batch

      As it said above, it just can't start this executable. Check why it so, try to run executable by hand. Most probably it failed to find shared libraries, in this case something like

      export LD_LIBRARY_PATH=/usr/local/lib

      will help if pocketsphinx is installed in /usr/local. Google for LD_LIBRARY_PATH for more information.

       

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.