Skip to content

Commit

Permalink
[egs] Fix inconseqential input-checking bug in Swbd example script (k…
Browse files Browse the repository at this point in the history
  • Loading branch information
yzmyyff authored and danpovey committed Sep 14, 2017
1 parent 8ad898c commit ca871fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egs/swbd/s5c/local/swbd1_train_lms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
Expand Down

0 comments on commit ca871fb

Please sign in to comment.