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,
Nick

On 11/06/2012 09:24 PM, Cyrine NASRI wrote:
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 in -e at ./wrap-xml.perl line 6.
Use of uninitialized value $src in concatenation (.) or string at ./wrap-xml.perl line 6.
wrapping frame not found () at ./wrap-xml.perl line 6.


Any idea please?

thank you
Bests

Cyrine



2012/11/6 Christian Federmann <[email protected] <mailto:[email protected]>>

    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: http://www.statmt.org/wmt09/baseline.html

    Cheers and best,
       Christian



    On Nov 6, 2012, at 3:57 PM, Cyrine NASRI wrote:

    > 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
    > [email protected] <mailto:[email protected]>
    > http://mailman.mit.edu/mailman/listinfo/moses-support




    --
    Dipl.-Inf. Christian Federmann, Researcher, Language Technology Lab
    Office +1.09 -- Phone +49-681/857-75-5353
    <tel:%2B49-681%2F857-75-5353>,  Fax +49-681/857-75-5338
    <tel:%2B49-681%2F857-75-5338>
    DFKI GmbH,  Campus D3 2,  Stuhlsatzenhausweg 3,  66123 Saarbruecken
    http://www.dfki.de/~cfedermann <http://www.dfki.de/%7Ecfedermann>

    -------------------------------------------------------------------
    Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
    Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany
    Geschaeftsfuehrung:
    Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
    Dr. Walter Olthoff
    Vorsitzender des Aufsichtsrats:
    Prof. Dr. h.c. Hans A. Aukes
    Amtsgericht Kaiserslautern, HRB 2313
    -------------------------------------------------------------------






--
/Cyrine
Ph.D. Student in Computer Science/


_______________________________________________
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