trunk: added warning in egs/librispeech/s5/local/decode_example.sh if the tar ball is not unpacked in egs/librispeech/s5

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@5077 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
This commit is contained in:
Guoguo Chen 2015-05-20 13:24:48 +00:00
Родитель 42fafb3418
Коммит 932026c613
1 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -6,6 +6,17 @@
# Script that shows how to modify the language model, and how to run the
# decoding from scratch.
warn="WARNING: you are supposed to unpack the tar ball under egs/librispeech/s5"
if [ ! -f cmd.sh ]; then
echo "cmd.sh file is missing"
echo $warn && exit 1
fi
if [ ! -f path.sh ]; then
echo "path.sh file is missing"
echo $warn && exit 1
fi
. ./cmd.sh || exit 1
. ./path.sh || exit 1