Hi,

On Mon, Feb 15, 2016 at 7:43 AM, Kekwal <[email protected]>
wrote:

> Dear all,
>
> I have some questions on the -mp option of the decoder:
>
> 1. Is the -mp option integrated by default in the decoder? I have compared
> more than 20000 segments translated with and without the option and there
> are no differences in the outputs.
>

No, it is not turned on by default. I do not have a good explanation why
there is no difference in your segments, but it is likely due to very
little reordering in general.

2. Is the -mp option compatible with mosesserver?
>

It should be, but I have not tested it personally.

3. According to the manual, -mp is equivalent to adding <wall /> tags
> before and after the following ponctuation signs
>  ,.!?:;"
> like in
> ,    ----->    <wall /> , <wall />
> Could it be useful to add walls also before and after brackets? Which
> files in the repository should be modified in order to achieve this?
> (    ---->    <wall /> ( <wall />
> )    ---->    <wall /> ) <wall />
>

You could just add these walls into the xml markup of the input sentence.
The code is in moses/ReorderingConstraint.cpp

You may also use zones:

this a <zone> ( <wall/> small <wall/> ) </zone> test .

This allows movement of the whole parenthetical expression, with local
walls within to ensure proper placement of the parentheses.

-phi
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to