Re: [Moses-support] wrap-xml.perl HELP

2016-07-28 Thread Rajen Chatterjee
Hi, use absolute path for all the files. so it will be something like this: /path-to-script/wrap-xml.perl /path-to-sgm/devtest2006-ref.en.sgm en < /home/user-name/Desktop/1000.en > /home/user-name/Desktop/1000.en.sgm On Wed, Jul 27, 2016 at 7:30 PM, Despina Mouratidi

[Moses-support] wrap-xml.perl HELP

2016-07-27 Thread Despina Mouratidi
Hi all, I want to convert a txt file to .sgm. I know that i can do it through wrap-xml.perl script and I already see the excample, $ scripts/wrap-xml.perl wmt08/devtest/devtest2006-ref.en.sgm en < > working-dir/evaluation/devtest2006.output.detokenized > >

Re: [Moses-support] wrap-xml.perl

2012-11-07 Thread Nick Ruiz
Hi Cyrene, Did you try adding the language (en) as a command-line parameter? /wrap-xml.perl /home/cyrine/Bureau/testetvalidation/test-en.En.sgm en /home/cyrine/Bureau/testetvalidation/testocHtok/home/cyrine/Bureau/testetvalidation/testocHtok.sgm Let us know if you still have problems. Best,

[Moses-support] wrap-xml.perl

2012-11-06 Thread Cyrine NASRI
Hello all, I'd like to know how to use the script wrap-xml.perl to change a texte file to a xml format. If possible the general syntax. Bests -- *Cyrine Ph.D. Student in Computer Science* ___ Moses-support mailing list Moses-support@mit.edu

Re: [Moses-support] wrap-xml.perl

2012-11-06 Thread Christian Federmann
Hi Cyrine, the following excerpt from WMT09's website should help: Wrap the output in SGML $ scripts/wrap-xml.perl wmt08/devtest/devtest2006-ref.en.sgm en working-dir/evaluation/devtest2006.output.detokenized working-dir/evaluation/devtest2006.output.sgm Source:

Re: [Moses-support] wrap-xml.perl

2012-11-06 Thread Cyrine NASRI
Hi, Thank you Christian for your reply i read the tuto i do like that : /wrap-xml.perl /home/cyrine/Bureau/testetvalidation/test-en.En.sgm /home/cyrine/Bureau/testetvalidation/testocHtok/home/cyrine/Bureau/testetvalidation/testocHtok.sgm but i got this message : Use of uninitialized value $src