Hi,

Moses expects factors separated by "|".

In your case you would have to write something that converts the "_" into
"|" and takes care of the case that there may have been a "_" in the raw
text.

That's all.

-phi

On Fri, Jun 14, 2013 at 12:02 PM, Jean D'Ennris <[email protected]>wrote:

> Dear All,
>
> I'm a newbie to Moses,  learning  by myself,
>
> Trying the Factored approach, I'm facing a small issue, after a processing
> step on my data, I wanted to use the POS wrapper (I've actually tried both
> Mxpost and Treetagger) but was disappointed because I was expecting the
> output to look like : corruption|corruption|nn flourishes|flourish|nns (POS
> and Lemmas), but it is actually like : NOM PRP:det NOM ADJ NOM ADJ using
> Treetagger
>
> and:  board_NN of_IN directors_NNS of_IN global_JJ with mxpost.
>
> My command was :
>
> /home/Moses/mosesdecoder/scripts/training/wrappers/make-factor-en-pos.mxpost.perl
> -mxpost /disque2/Preparation/Factored/mxpost/
> /disque2/Preparation/Factored/data.tok.en tun.out
>
> Is there any option to make it look as the sample here above, or should I
> write a script which does so?
>
> Thanks for your help
>
> Regards
>
> Jean
>
> _______________________________________________
> 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