Skip to content

Commit

Permalink
[egs] Make sure scoring opts are passed to score_cer.sh in UW3 (#2181)
Browse files Browse the repository at this point in the history
  • Loading branch information
hhadian authored and danpovey committed Jan 24, 2018
1 parent 476cb3f commit b73bb12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion egs/uw3/v1/local/score.sh
Expand Up @@ -143,7 +143,9 @@ if [ $stage -le 1 ]; then
fi
fi

steps/scoring/score_kaldi_cer.sh --cmd "$cmd" --stage 2 $data $lang_or_graph $dir
steps/scoring/score_kaldi_cer.sh --cmd "$cmd" --stage 2 --min-lmwt $min_lmwt \
--max-lmwt $max_lmwt --word-ins-penalty $word_ins_penalty \
$data $lang_or_graph $dir

# If we got here, the scoring was successful.
# As a small aid to prevent confusion, we remove all wer_{?,??} files;
Expand Down

0 comments on commit b73bb12

Please sign in to comment.