Created
September 4, 2019 19:50
-
-
Save slegroux/d433c01faf5b4cce242594361a16fadb to your computer and use it in GitHub Desktop.
install kaldi_lm tools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd kaldi/tools || exit 1; | |
if [ -d kaldi_lm ]; then | |
echo Not installing the kaldi_lm toolkit since it is already there. | |
else | |
echo Downloading and installing the kaldi_lm tools | |
if [ ! -f kaldi_lm.tar.gz ]; then | |
wget http://www.danielpovey.com/files/kaldi/kaldi_lm.tar.gz || exit 1; | |
fi | |
tar -xvzf kaldi_lm.tar.gz || exit 1; | |
cd kaldi_lm | |
make || exit 1; | |
echo Done making the kaldi_lm tools | |
fi | |
) || exit 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment