Skip to content

Commit

Permalink
[scripts] fix lmrescore_rnnlm_lat.sh: fstproject doesn't work on cons…
Browse files Browse the repository at this point in the history
…t-arpa FST (#1830)
  • Loading branch information
wonkyuml authored and danpovey committed Aug 18, 2017
1 parent 3b185c7 commit 4816ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egs/wsj/s5/steps/lmrescore_rnnlm_lat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ if [ "$oldlm" == "$oldlang/G.fst" ]; then
else
$cmd JOB=1:$nj $outdir/log/rescorelm.JOB.log \
lattice-lmrescore-const-arpa --lm-scale=$oldlm_weight \
"ark:gunzip -c $indir/lat.JOB.gz|" "$oldlm_command" ark:- \| \
"ark:gunzip -c $indir/lat.JOB.gz|" "$oldlm" ark:- \| \
$rescoring_binary $extra_arg --lm-scale=$weight \
--max-ngram-order=$max_ngram_order \
$first_arg $oldlang/words.txt ark:- "$rnnlm_dir/rnnlm" \
Expand Down

0 comments on commit 4816ee5

Please sign in to comment.