bleu

BLEU automated machine translation evaluation

source

measure_bleu

 measure_bleu (hypothesis_lines, reference_lines, targetlang, tok=None)

Measuring standard BLEU on set of hypothesis and references


source

measure_record_bleu

 measure_record_bleu (hypothesis_lines, reference_lines, sourcelang,
                      targetlang, test_set_name, test_date, mtengine,
                      score_pathname, score_fname, domain='', tok=None)

Score hypothesis with BLEU score and record it to a specified metrics file