From c5d762675572b5332579710943d55816acc3e206 Mon Sep 17 00:00:00 2001 From: Kuang R Date: Thu, 14 Sep 2017 09:26:56 +0800 Subject: [PATCH] fix the bug #1885 --- egs/swbd/s5c/local/swbd1_train_lms.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/swbd/s5c/local/swbd1_train_lms.sh b/egs/swbd/s5c/local/swbd1_train_lms.sh index 969eddf10c6..5b98f4b6beb 100755 --- a/egs/swbd/s5c/local/swbd1_train_lms.sh +++ b/egs/swbd/s5c/local/swbd1_train_lms.sh @@ -47,7 +47,7 @@ shift 3 fisher_dirs=( $@ ) for f in "$text" "$lexicon"; do - [ ! -f $x ] && echo "$0: No such file $f" && exit 1; + [ ! -f $f ] && echo "$0: No such file $f" && exit 1; done loc=`which ngram-count`;