I have been following Kaldi for dummies tutorial and seem to have everything setup except for the fact that I am getting an error "SRILM toolkit is probably not installed." The path it would reference in my script checks out and SRILM installed fine. I think it has something to do with ngram-count not returning the correct value. There other thing is I could not use the line "export LC_ALL=C" on the bottom of the path.sh as it was complaining about incorrect locale. Lastly the path "/tools/mitlm-svn/lib" referenced in path.sh does not exist on my system or I cannot find where it resides. Thanks for your help.
(console output)
./run.sh
===== PREPARING ACOUSTIC DATA =====
===== FEATURES EXTRACTION =====
data/train exp/make_mfcc/train mfccpl
steps/make_mfcc.sh: line 19: parse_options.sh: No such file or directory
data/test exp/make_mfcc/test
mfccn.plsteps/make_mfcc.sh: line 19: parse_options.sh: No such file or directory
steps/compute_cmvn_stats.sh data/train exp/make_mfcc/train mfcc
make_cmvn.sh: no such file data/train/feats.scp
steps/compute_cmvn_stats.sh data/test exp/make_mfcc/test mfcc
make_cmvn.sh: no such file data/test/feats.scp
===== PREPARING LANGUAGE DATA =====
Checking data/local/dict/silence_phones.txt ...
--> reading data/local/dict/silence_phones.txt
--> data/local/dict/silence_phones.txt is OK
Checking data/local/dict/optional_silence.txt ...
--> reading data/local/dict/optional_silence.txt
--> data/local/dict/optional_silence.txt is OK
Checking data/local/dict/nonsilence_phones.txt ...
--> reading data/local/dict/nonsilence_phones.txt
--> data/local/dict/nonsilence_phones.txt is OK
Checking disjoint: silence_phones.txt, nonsilence_phones.txt
--> disjoint property is OK.
Checking data/local/dict/lexicon.txt
--> reading data/local/dict/lexicon.txt
--> data/local/dict/lexicon.txt is OK
Checking data/local/dict/extra_questions.txt ...
--> data/local/dict/extra_questions.txt is empty (this is OK)
--> SUCCESS [validating dictionary directory data/local/dict]
**Creating data/local/dict/lexiconp.txt from data/local/dict/lexicon.txt
utils/prepare_lang.sh: line 378: fstcompile: command not found
utils/prepare_lang.sh: line 380: fstarcsort: command not found
===== LANGUAGE MODEL CREATION =====
===== MAKING lm.arpa =====
/src/latbin/:/root/kaldi/egs/digits:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr)sbin:/bin:/sbin:/root/bin
SRILM toolkit is probably not installed.
Instructions: tools/install_srilm.sh
[root@localhost digits]#
(run.sh portion)
loc=`which ngram-count`;
if [ -z $loc ]; then
if uname -a | grep 64 >/dev/null; then
sdir=$KALDI_ROOT/tools/srilm/bin/i686-m64
else
sdir=$KALDI_ROOT/tools/srilm/bin/i686
fi
if [ -f $sdir/ngram-count ]; then
echo "Using SRILM language modelling tool from $sdir"
export PATH=$PATH:$sdir
else
echo "SRILM toolkit is probably not installed.
Instructions: tools/install_srilm.sh"
exit 1
fi
fi
(path.sh file)
# Defining Kaldi root directory
export KALDI_ROOT=`pwd`/../../..
# Setting paths to useful tools
export PATH=$KALDI_ROOT/utils/:$KALDI_ROOT/src/bin:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/src/fstbin/:$KALDI_ROOT/src/gmmbin/:$KALDI_ROOT/src/featbin/:$KALDI_ROOT/src/lm/:$KALDI_ROOT/src/sgmmbin/:$KALDI_ROOT/src/sgmm2bin/:$KALDI_ROOT/src/fgmmbin/:$KALDI_ROOT/src/latbin/:$PWD:$PATH
# Defining audio data directory (modify it for your installation directory!)
export DATA_ROOT="root/kaldi/egs/digits/digits_audio"
# Variable that stores path to MITLM library
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/tools/mitlm-svn/lib
# Variable needed for proper data sorting
#export LC_ALL=C