Commands you enter in command line are searched in PATH. They also must have executable flag. If you want to run a script from current folder you can start it with ./:
./word_align.pl ref hyp
If the script is not executable you can make it executable with chmod or run it with perl:
pocketsphinx_batch \
-adcin yes \
-cepdir wav \
-cepext .wav \
-ctl adaptation-test.fileids \
-lm <your.lm> \
-dict <your.dic, for="" example="" arctic.dic=""> \
-hmm <your_new_adapted_model, for="" example="" hub4wsj_sc_8kadapt=""> \
-hyp adapation-test.hyp</your_new_adapted_model,></your.dic,></your.lm>
word_align.pl adaptation-test.transcription adapation-test.hyp
I am decoding 16kHz files!
When I used the script word-align.pl from Sphinxtrain, it always reports "word_align.pl:未找到命令。What should I do?
Commands you enter in command line are searched in PATH. They also must have executable flag. If you want to run a script from current folder you can start it with ./:
If the script is not executable you can make it executable with chmod or run it with perl:
You can learn a lot about Unix command line from the following tutorial: http://tldp.org/LDP/Bash-Beginners-Guide/html/index.html
Hi
I also face a similar type of problem, but in my case the error is:
./word_align.pl: No such file or directory
How do i get this file?
check pocketsphinx/test/word_align.pl
Thanks, it works!!
Ok! Thanks!