Hi Roee,

I know people have written scripts like this in the past, but I don't know of any that is public.

I also have a variant of multi-bleu.perl that takes in plain text, but re-uses the internal tokenization of mteval-v13a.pl. As a consequence, you can pass it untokenized references and output, and it will produce the same results as mteval-v13a.pl.

The script is at https://github.com/rsennrich/nematus/blob/master/data/multi-bleu-detok.perl

best wishes,
Rico

On 08/05/17 07:26, Roee Aharoni wrote:
Hi,

Is there a script in moses that converts simple parallel text files into the .sgm format required by the mteval-v13a.pl <http://mteval-v13a.pl>?

I only found: /scripts/ems/support/wrap-xml.perl which wraps the target file, but requires the source file to be in sgm format.

Thanks,
Roee


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

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

Reply via email to