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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> 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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
Problem solved - I missed the part in the tutorial about editing sphinx_train.cfg for PocketSphinx...doh! Thanks, Nickolay.
> 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.