Hello, In expanding the current hypotheses, we must calulate the score of this new hypothesis. For counting the lexicalized reordering score we will have two score: (I assume the direction is Bidirectional)
1- The reordering type (MSD) between the new added phrase and the last phrase in the current hypothesis (we assume it as Backward),and 2- The reordering type (MSD) between the new added phrase and the comming phrase will be added later- in this position we do not know it,(we assume it as Forward) Counting The 1 has no problem, but counting the 2 is related to the decision we will make in the future how to expand the hypothesis, So, How it will be counted now?! (I think it is in this case: when a new phrase is added, the backward score of this phrase and the forward score previous phrase will count, and the forward score of new added phrase will count in future. ) It seems the lexical reordering is count in these methods: LexicalReordering::Evaluate->ScoreComponentCollection::PlusEquals(const ScoreProducer* sp, const std::vector<float>& scores) but there aren't any different between calculation of 1 and 2 in those methods! So I what to know where the 2th score will be counted? In which method? Sincerely, Neda Noormohammadi
_______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support