Skip to content
Snippets Groups Projects
Commit 57c5b96d authored by Arnab Ghoshal's avatar Arnab Ghoshal
Browse files

fix to wsj scoring

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@2496 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent 2d6bd05b
Branches
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ cat $data/text | sed 's:<NOISE>::g' | sed 's:<SPOKEN_NOISE>::g' > $dir/scoring/t
$cmd LMWT=$min_lmwt:$max_lmwt $dir/scoring/log/best_path.LMWT.log \
lattice-scale --inv-acoustic-scale=LMWT "ark:gunzip -c $dir/lat.*.gz|" ark:- \| \
lattice-add-penalty --word-ins-penalty=$word_ins_penalty ark:- ark:- \| \
lattice-best-path --lm-scale=LMWT --word-symbol-table=$symtab \
lattice-best-path --word-symbol-table=$symtab \
ark:- ark,t:$dir/scoring/LMWT.tra || exit 1;
if $reverse; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment