sentence1: bleu is calculated as the geometric mean of n-grams comparing a machine translation and a reference text .
sentence2: bleu and nist are calculated as the geometric mean of n-grams multiplied by a brevity penalty , comparing a machine translation and a reference text .