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

echo " "
echo "pocketsphinx_tidigits:"
echo "  Demo CMU PocketSphinx decoder with connected digit recognition."
echo " "

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

