kaldi/tools/extras/install_rnnlm_hs.sh

18 строки
362 B
Bash
Executable File

#!/bin/bash
# Make sure we are in the tools/ directory.
if [ `basename $PWD` == extras ]; then
cd ..
fi
! [ `basename $PWD` == tools ] && \
echo "You must call this script from the tools/ directory" && exit 1;
echo "Installing RNNLM-HS 0.1b"
cd rnnlm-hs-0.1b
if grep -q '#define MAX_STRING 100' rnnlm.c ; then
patch <../extras/rnnlm.patch
fi
make