Commit e5a652c4 authored by Dan Povey's avatar Dan Povey
Browse files

Fix bug in lmrescore.sh

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@617 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent 74af1b73
......@@ -37,7 +37,7 @@ newlm=$newlang/G.fst
! cmp $oldlang/words.txt $newlang/words.txt && echo "Warning: vocabularies may be incompatible."
[ ! -f $oldlm ] && echo Missing file $oldlm && exit 1;
[ ! -f $newlm ] && echo Missing file $newlm && exit 1;
[ ! ls $indir/lat.*.gz >/dev/null ] && echo "No lattices input directory $indir" && exit 1;
! ls $indir/lat.*.gz >/dev/null && echo "No lattices input directory $indir" && exit 1;
oldlmcommand="fstproject --project_output=true $oldlm |"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment