Moses-support Digest, Vol 111, Issue 76

Send Moses-support mailing list submissions to
moses-support@mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu

You can reach the person managing the list at
moses-support-owner@mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."


Today's Topics:

1. Re: unexpected reordering with xml-input exclusive
(Miguel Domingo)


----------------------------------------------------------------------

Message: 1
Date: Tue, 26 Jan 2016 16:05:13 +0100
From: Miguel Domingo <midobal@prhlt.upv.es>
Subject: Re: [Moses-support] unexpected reordering with xml-input
exclusive
To: Vito Mandorino <vito.mandorino@linguacustodia.com>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAPiKx4LLX=ZMZKxMwpNfv2a5LQq5yKgLsVHmxUEhg9nguGXwgA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Vito,

I don't remember the reason of why this happens, but I faced this problem
in the past. The solution I ended up with was creating a wall (hard
reordering contraint) after each xml tag. Following your example:


*echo '<np translation="and, on the monday , the tallboy on its back by the
bed , and the dressing table on its face by the door">and, on the monday ,
the tallboy on its back by the bed , and the dressing table on its face by
the door</np><wall/>' | /mosesdecoder/bin/moses -f moses.ini -xml-input
exclusive > translation*

Hope this helps.

Best regards,

Miguel

On Tue, Jan 26, 2016 at 3:38 PM, Vito Mandorino <
vito.mandorino@linguacustodia.com> wrote:

> Dear all,
>
> running the decoder with the following command and the '-xml-input
> exclusive' option yielded an unexpected behavior:
>
> echo '<np translation="and, on the monday , the tallboy on its back by the
> bed , and the dressing table on its face by the door">and, on the monday ,
> the tallboy on its back by the bed , and the dressing table on its face by
> the door</np>' | /mosesdecoder/bin/moses -f moses.ini -xml-input exclusive
> > translation
>
> The output in the file 'translation' reads:
>
> on monday the and, , the tallboy on its back by the bed , and the table on
> its dressing face by the door
>
> instead of the expected:
>
> and, on the monday , the tallboy on its back by the bed , and the dressing
> table on its face by the door
>
> The translation has been reordered with respect to the content of the xml
> markup. Is this kind of reordering allowed by the '-xml-input exclusive'
> option? This seems to happen especially for fairly long sentences.
>
> Best regards,
>
> Vito Mandorino
> --
> *M**. Vito MANDORINO -- Chief Scientist*
>
>
> [image: Description : Description : lingua_custodia_final full logo]
>
> *The Translation Trustee*
>
> *1, Place Charles de Gaulle, **78180 Montigny-le-Bretonneux*
>
> *Tel : +33 1 30 44 04 23 Mobile : +33 6 84 65 68 89
> <%2B33%206%2084%2065%2068%2089>*
>
> *Email :* *vito.mandorino@linguacustodia.com
> <massinissa.ahmim@linguacustodia.com>*
>
> *Website :* *www.linguacustodia.com <http://www.linguacustodia.com/> -
> www.thetranslationtrustee.com <http://www.thetranslationtrustee.com/>*
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20160126/6e9e84c0/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4421 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20160126/6e9e84c0/attachment-0001.jpg

------------------------------

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


End of Moses-support Digest, Vol 111, Issue 76
**********************************************

Related Posts :

0 Response to "Moses-support Digest, Vol 111, Issue 76"

Post a Comment