Hi Elham, Only the non-terminals have alignments in the rule-table. The rules with all alignments are available in the output of the rule extraction step (step five from train-model.perl), the file 'extract.gz'. In the detailed moses_chart output (use -translation-details or -T) you have what rules matched. Using this information and the alignments from extract.gz you can generate the remaining alignments.
And a few questions of my own: Moses does not seem to break when terminals have alignments in the rule table. Are they interpreted as non-terminals? Is there an option when scoring the rule-table to output alignments for terminals? Best regards, Al. Ceausu On Sat, Aug 18, 2012 at 8:13 AM, Elham Shaabani <[email protected]>wrote: > Hi, > > I need alignment's information for sentence to tree and hierarchical > phrase based model in n-best file, similar to phrase based model output > with word alignments. Are there any options in the moses-chart for > including word alignment information in n-best file? > > How can I get them? > > Thanks for any help you can offer. > > Regards, > Elham > _______________________________________________ > 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
