Skip to content

Commit

Permalink
update mt.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
pyf98 committed Apr 30, 2022
1 parent 552060a commit f6731cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egs2/TEMPLATE/mt1/mt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ if ! "${skip_eval}"; then
detokenizer.perl -l ${tgt_lang} -q < "${_scoredir}/ref.trn" > "${_scoredir}/ref.trn.detok"
detokenizer.perl -l ${tgt_lang} -q < "${_scoredir}/hyp.trn" > "${_scoredir}/hyp.trn.detok"

if [ ${tgt_case} = "tc" ]; then
if [ ${tgt_case} = "tc" ]; then
echo "Case sensitive BLEU result (single-reference)" > ${_scoredir}/result.tc.txt
sacrebleu "${_scoredir}/ref.trn.detok" \
-i "${_scoredir}/hyp.trn.detok" \
Expand Down

0 comments on commit f6731cd

Please sign in to comment.