neubig/travatar — pull request #16 by philip30 (2014-09-18 06:51:37+00:00)
Title: PINC

In this pull request, PINC is implemented by modifying the existing bleu.
PINC is an inverse BLEU and being used for measuring dissimilarity between system output and source sentence.
To do so, we can add "inverse=true" in BLEU options.
In addition, PINC does not calculate brevity penalty, therefore we can do that by specifying "brevity=false" in BLEU options.

Some minor bug fixed in BLEU such as denominator that always be 4 in BLEU calculation and used std::abs instead of abs function in CheckAlmost function are also included.