Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 328ad139 authored by SHEIKH Imran's avatar SHEIKH Imran
Browse files

update to setup script

parent 55574780
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
# This script is not tested in Windows and/or Cygwin OS !!!
#
install_kaldi=false # set this to false if you have Kaldi installed
install_kaldi=true # set this to false if you have Kaldi installed
install_kaldi_lm=true # set this to false if you have kaldi_lm in the tools dir of your kaldi
echo ""
......@@ -76,7 +76,15 @@ cd ${wsup_stt_name_short}
rm steps utils
ln -s ${kald_root}/egs/wsj/s5/steps .
ln -s ${kald_root}/egs/wsj/s5/utils .
cmp_return_dir=`pwd`
cp local/kaldi-helpers/lattice-mbr-decode-wtimes.cc ${kald_root}/src/latbin/
cd ${kald_root}/src/latbin/
mv Makefile Makefile.orig
cat Makefile.orig | sed 's/lattice-mbr-decode /lattice-mbr-decode lattice-mbr-decode-wtimes /' > Makefile
make
cd ${cmp_return_dir}
echo "export KALDI_ROOT=${kald_root}" > path_new.sh
echo "export KALDI_LM_ROOT=${kald_root}/tools/kaldi_lm/" >> path_new.sh
tail -n +3 path.sh >> path_new.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment