Hi Liling,

This tool calculates sentence-level BLEU scores (smoothed via
incrementing the n-gram counts by 1):

        bin/sentence-bleu

Make sure that you provide the hypothesis and reference files in an
appropriately processed way. The tool doesn't apply any tokenization or
remove any markup internally.

You find the source code in

        mert/sentence-bleu.cpp

if you need it.

There's also a special version for use with n-best lists:

        bin/sentence-bleu-nbest

Cheers,
Matthias


On Wed, 2015-09-02 at 21:47 +0200, liling tan wrote:
> Dear Moses devs/users,
> 
> 
> Is there any script in moses or other MT libraries that can generate
> the segment level BLEU, NIST and METEOR scores for each sentence in
> the test set?
> 
> 
> Best Regards,
> Liling
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support



-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to