Hello,

I need to skip factors from an external pos-tagger like in the
config.factored. Instead I need it work it for my data.

Sample training sentence :

Source : Pressure of excretion remains .
Target : kupoRaNa|r6 ke|na kaI|na rUpa|k1s hEM|main .|na

I am attaching my config file along with it.

Error I am getting is
"ERROR: you need to define INPUT-FACTOR:temp-dir"

Looking for some suggestions

Regards,
Karan

On Mon, Oct 12, 2015 at 9:41 PM, karan singla <[email protected]> wrote:

> Hello all,
>
> I am trying to train a factored model but I don't remember how to set
> right definition of factors. I am changing toy config.factored file.
>
> I have data of type "Word1|NN Word2|VB Word3|JJ ...." on the target side
> with no factors on the source side. It will be great if someone can tell me
> how should I change the factor definition according to my data.
>
> # FACTOR DEFINITION
>
> #[INPUT-FACTOR]
>
> # also used for output factors
>
> temp-dir = $working-dir/training/factor
>
> #[OUTPUT-FACTOR:pos]
>
> ### script that generates this factor
>
> #
>
> mxpost = /home/pkoehn/bin/mxpost
>
> factor-script = 
> "$moses-script-dir/training/wrappers/make-factor-en-pos.mxpost.perl
> -mxpost $mxpost"
>
>
> Thanks & Regards,
> Karan Singla
>



-- 
Regards,
Karan Singla

Attachment: config.factored
Description: Binary data

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

Reply via email to