#!/bin/sh
S2CONTINUOUS=/usr/local/bin/pocketsphinx_continuous
HMM=/usr/local/share/pocketsphinx/model/hmm/wsj1
LM=/usr/local/share/pocketsphinx/model/lm/swb
LMFILE=/usr/local/share/pocketsphinx/model/lm/swb/swb.lm.DMP
DICT=/usr/local/share/pocketsphinx/model/lm/swb/swb.dic

echo " "
echo "pocketsphinx_swb:"
echo "  Demo CMU PocketSphinx decoder with SWB language model."
echo " "

echo "<executing $S2CONTINUOUS, please wait>"
$S2CONTINUOUS -live yes \
	-fwdflat yes -bestpath yes \
	-lm ${LMFILE} \
	-dict ${DICT} \
	-hmm ${HMM} \
	-samprate 8000 \
	-nfft 256
