i don't think it's available for syntax-model.

in moses-cmd/src/IOWrapper.cpp line 454, there is variable
   includeAlignment
however, in moses-chart-cmd/src/IOWrapper.cpp, this is commented out.

you're welcome to change the code to enable it. Email me if you have any problems

On 03/08/2012 12:17, yang haitong wrote:

Dear,

I am a student researching on SMT. Moses is an open powerful tool. Recently I want to generate word alignment in N-best output with Moses.

For example, the below sentence is outputted by moses and it has word alignment information such as "0=0".

A sentence generated by moses : however , because the two sides still exist . ||| 0=0 1=1 5=2 4=3 2=4 3=5 6=6 7=7 8=8

The result above is produced by Phrased-based model in Moses. And I tried on Syntax-based model in Moses but I failed.

Can Moses generate word alignment information with Syntax-based model ? And how to do it ?

     Thank you in advance

     htyang



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

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

Reply via email to