diff options
author | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-12-13 14:52:47 +0300 |
---|---|---|
committer | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-12-13 14:52:47 +0300 |
commit | e4eb201c52be74fee74399a6f35fcbe8eb85d834 (patch) | |
tree | 7792ef96d63262f6e28f1857741e1162c7dccbc4 /moses/ChartTranslationOptionList.cpp | |
parent | cea2d9d8bb34a81660974cae20d66aefec4e0468 (diff) | |
parent | a0b6b6a341e74b47bbef4652ad7fd928cf91e17c (diff) |
merged master into dynamic-models and solved conflicts
Diffstat (limited to 'moses/ChartTranslationOptionList.cpp')
-rw-r--r-- | moses/ChartTranslationOptionList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/ChartTranslationOptionList.cpp b/moses/ChartTranslationOptionList.cpp index 504b03c6c..8d3d9b3ab 100644 --- a/moses/ChartTranslationOptionList.cpp +++ b/moses/ChartTranslationOptionList.cpp @@ -168,13 +168,13 @@ float ChartTranslationOptionList::GetBestScore(const ChartCellLabel *chartCell) return bestHypo.GetTotalScore(); } -void ChartTranslationOptionList::Evaluate(const InputType &input, const InputPath &inputPath) +void ChartTranslationOptionList::EvaluateWithSourceContext(const InputType &input, const InputPath &inputPath) { // NEVER iterate over ALL of the collection. Just over the first m_size CollType::iterator iter; for (iter = m_collection.begin(); iter != m_collection.begin() + m_size; ++iter) { ChartTranslationOptions &transOpts = **iter; - transOpts.Evaluate(input, inputPath); + transOpts.EvaluateWithSourceContext(input, inputPath); } // get rid of empty trans opts |