Hi!
I got alerted to a bug in the lexical reordering code (thanks
Christoffer Tanner!).
In reordering_classes.cpp (in moses/scripts/training/lexical-reordering):
void Model::createSmoothing(double w) {
scorer->createSmoothing(modelscore->get_scores_fe_prev(), w,
smoothing_prev);
scorer->createSmoothing(modelscore->get_scores_fe_prev(), w,
smoothing_next);
}
The last line should be changed to:
scorer->createSmoothing(modelscore->get_scores_fe_next(), w,
smoothing_next);
I don't have push access to the git repository, so if someone could
update that it would be great!
/Sara
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support