• Stars
    star
    121
  • Rank 292,252 (Top 6 %)
  • Language
    Python
  • Created over 8 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Calculate the Bleu Score for Machine Translated Text.

Bleu

Calculate the Bleu Score for Machine Translated Text.

HOW TO RUN

python calculatebleu.py "candidate-file.txt" "reference-file/directory"

OUTPUT

bleu_out.txt : contains the Bleu score for the candidate-file


Reference

BLEU: a Method for Automatic Evaluation of Machine Translation Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu