Commit 8ab66c99 authored by Ho Yin Chan's avatar Ho Yin Chan
Browse files

trunk:egs/hkust/s5b script fix

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3399 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent 0bd830de
......@@ -60,8 +60,14 @@ do
COMMAND=`echo $COMMAND -mix-lm${j} ${array_model[$i]}/lm_0/$n -mix-lambda${j} ${array_wgt[$i]}`
let i++
done
echo "$srilmbinpath/ngram -renorm -map-unk \<unk\> $COMMAND -mix-lm ${array_model[$i]}/lm_0/$n -write-lm $NAME_LABEL/$NAME_LABEL.$n"
`echo $srilmbinpath/ngram -renorm -map-unk \<unk\> $COMMAND -mix-lm ${array_model[$i]}/lm_0/$n -write-lm $NAME_LABEL/$NAME_LABEL.$n`
if [ $n == "fg" ]
then
echo "$srilmbinpath/ngram -order 4 -renorm -map-unk \<unk\> $COMMAND -mix-lm ${array_model[$i]}/lm_0/$n -write-lm $NAME_LABEL/$NAME_LABEL.$n"
`echo $srilmbinpath/ngram -order 4 -renorm -map-unk \<unk\> $COMMAND -mix-lm ${array_model[$i]}/lm_0/$n -write-lm $NAME_LABEL/$NAME_LABEL.$n`
else
echo "$srilmbinpath/ngram -renorm -map-unk \<unk\> $COMMAND -mix-lm ${array_model[$i]}/lm_0/$n -write-lm $NAME_LABEL/$NAME_LABEL.$n"
`echo $srilmbinpath/ngram -renorm -map-unk \<unk\> $COMMAND -mix-lm ${array_model[$i]}/lm_0/$n -write-lm $NAME_LABEL/$NAME_LABEL.$n`
fi
done
echo "[[test perplexity]]"
......
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