Tuesday, November 5, 2019

run_pocketsphinx_continuous.sh


#  This works, in the sense of executing and producing output.
#  However, accuracy is so low that it's very hard to tell what the
#  input speech even was.  Not sure this will be any better than
#  simply transcribing by hand.  This is probably the fault of the
#  models and configuration -- and does "8k" mean 8kHz?  My audio
#  is 16kHz...  Anyway, the fun continues...

pocketsphinx_continuous \
    -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 \
-infile input.wav \
-adcin true \
-hyp out.txt

No comments:

Post a Comment