Hello Sriram,

I think you misunderstand the [mapping] section of moses.ini (I don't know if it's documented anywhere though, apart from the source code).

The first number specifies the decoding path, the second number is the step index. Your configuration corresponds to this:

[mapping]
0 T 0
0 T 1
0 G 0

If you pass these parameters to train-model.perl, it should generate the correct moses.ini:

--translation-factors 0-0+1-1 --generation-factors 1-0 --decoding-steps t0,t1,g0

(Assuming you want the generation table from PoS to words, not the other way around.)

Best,
Ales

On 04/04/2013 05:05 PM, Sriram venkatapathy wrote:

Hello,

I have trained a factored model that maps source syntax to target syntax (part of speech tags). So, the mappings that I have are,

source word -> target words  (phrase table - factors 0-0)
source pos -> target pos       (phrase table - factors 1-1)
target pos -> target words     (generation table 0-1)

Anyone has idea of what should be order of decoding steps ? This seemed the right order
0 T 0
0 G 1
1 T 1
but this doesn't stop processing when I give as input a sentence tagged with part of speech tags. Any other mapping order leads to a segmentation fault.

Any suggestions about this ? Thanks.

- Sriram


_______________________________________________
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