Hi,

this is implemented on the miramerge branch as
AlignmentInfo::GetTerminalAlignments(). For hierarchical models, instead of
iterating over AlignmentInfo which gives you the non-terminals, you would
iterate over the collection returned by GetTerminalAlignments(). This
assumes that terminals were written to the rule table
(phrase-extract/score.cpp).

Eva

On Wed, Jul 4, 2012 at 12:15 AM, Fabienne Braune
<[email protected]>wrote:

> Hi moses support,
>
> I would like to have the alignments between non-terminals available in
> moses-chart after rule-table loading and also during decoding.
> Is there an option for this? If not, how shall I best implement it, so
> that it does not conflict in any way with the alignments between
> non-terminals (nonTermIndexMap)?
>
> Thanks!
> Fabienne
>
> _______________________________________________
> 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