Tuesday, November 5, 2019

run_pocketsphinx_batch.sh


#  run_pocketsphinx_batch.sh
#  ctlfile.txt contains one line: "input"
#  input.wav -> out.txt
#  These are the exact parameters that happen to work for me.
#  I've bypassed the -argfile, instead just including all
#  the parameters here.
pocketsphinx_batch \
    -hmm /usr/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k \
    -dict /usr/share/pocketsphinx/model/lm/en_US/cmu07a.dic \
    -lm /usr/share/pocketsphinx/model/lm/en_US/hub4.5000.DMP \
-cepdir . \
-ctl ctlfile.txt \
-cepext .wav \
-adcin true \
-hyp out.txt

No comments:

Post a Comment