diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2013-09-18 14:35:31 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2013-09-18 14:35:31 +0400 |
commit | 5625d30a2626630673a5c5c559d7cb7b2f7f76a8 (patch) | |
tree | fc94afbf50b62b9707cf81bed6f4ff775e7b6081 /moses/ChartTranslationOption.cpp | |
parent | a4f5879fef2d7150b9e17f32937c2d54ff7eda2f (diff) |
add target phrase to arguments for Evaluate() during application to sentence
Diffstat (limited to 'moses/ChartTranslationOption.cpp')
-rw-r--r-- | moses/ChartTranslationOption.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ChartTranslationOption.cpp b/moses/ChartTranslationOption.cpp index ffd7f0edb..2e2732f74 100644 --- a/moses/ChartTranslationOption.cpp +++ b/moses/ChartTranslationOption.cpp @@ -16,7 +16,7 @@ void ChartTranslationOption::Evaluate(const InputType &input, const InputPath &i for (size_t i = 0; i < ffs.size(); ++i) { const FeatureFunction &ff = *ffs[i]; - ff.Evaluate(input, inputPath, m_scoreBreakdown); + ff.Evaluate(input, inputPath, m_targetPhrase, m_scoreBreakdown); } } } |