Re: [Moses-support] Convert parallel text files to sgm format

2017-05-18 Thread Rico Sennrich
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

[Moses-support] Convert parallel text files to sgm format

2017-05-08 Thread Roee Aharoni
Hi, Is there a script in moses that converts simple parallel text files into the .sgm format required by the 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 __