mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
bug - should get score for translation rule from the translation option, not the target phrase.
This commit is contained in:
parent
ea8837b5b9
commit
e8b2d2a269
@ -175,7 +175,7 @@ void ChartHypothesis::Evaluate()
|
||||
}
|
||||
|
||||
// scores from current translation rule. eg. translation models & word penalty
|
||||
const ScoreComponentCollection &scoreBreakdown = GetCurrTargetPhrase().GetScoreBreakdown();
|
||||
const ScoreComponentCollection &scoreBreakdown = GetTranslationOption().GetScores();
|
||||
m_scoreBreakdown.PlusEquals(scoreBreakdown);
|
||||
|
||||
// compute values of stateless feature functions that were not
|
||||
|
Loading…
Reference in New Issue
Block a user