Hi, you will need a source and reference file that is also in the sgm file format. If you do not have this, you will have to build it yourself. See the test file for the WMT task for examples: http://www.statmt.org/wmt09/
With this file, you can run the script: wrap-xml.perl LANGUAGE SOURCE-FILE SYSTEM < IN > OUT LANGUAGE has to match the language specified in the reference file, SYSTEM is your system name, which could be anything, it does not matter. -phi On Thu, Nov 19, 2009 at 6:44 PM, Waleed Oransa <[email protected]> wrote: > Thank you Mauro, > > I have this script actually with Moses but I don't know the parameter > to send .. the call in moses step by step guide don't use it to do > what I want. I just need to know how to call it to covert normal text > file contain lines of text to xml so I can use it with scoring. what > is the switches I should us and what is the parameters. I hope you or > any one can > help in this. > > Waleed > > On Thu, Nov 19, 2009 at 5:39 PM, Mauro Cettolo <[email protected]> wrote: >> The set of scripts mentioned in those notes: >> >> http://homepages.inf.ed.ac.uk/jschroe1/how-to/scripts.tgz >> >> includes the XML wrapper >> >> wrap-xml.perl >> >> which does the job. >> >> Best >> >> Mauro >> >> Waleed Oransa wrote: >>> >>> Hello all, >>> >>> Any help for the note I sent before ? >>> >>> >>> ---------- Forwarded message ---------- >>> From: Waleed Oransa <[email protected]> >>> Date: Thu, Nov 19, 2009 at 1:50 AM >>> Subject: Question on NIST-BLUE and sgm format >>> To: [email protected] >>> >>> >>> Hello all, >>> >>> I tried to follow the steps in http://www.statmt.org/moses_steps.html >>> in order to get the NIST/BLUE score but it seems that the instructions >>> assume I have some files in sgm xml format, while I only have plain >>> text files. any solution ? >>> >>> Also if the target language, I assume I should skip recase steps .. is >>> this correct assumption? >>> >>> Waleed >>> _______________________________________________ >>> 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 > _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
