Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieu@hoang.co.uk>2013-08-08 20:35:42 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-08-08 20:35:42 +0400
commit9341f28d759e263967787fe80ec2de18cee2e940 (patch)
treeb62cebf4500a687d99500b2b302af61df49908e9 /moses/TranslationOption.cpp
parentb044f31012fcd5c7b840453b91b36d0718f0cb5d (diff)
Evaluate(InputType) --> Evaluate(InputType, Phrase source)
Diffstat (limited to 'moses/TranslationOption.cpp')
-rw-r--r--moses/TranslationOption.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/TranslationOption.cpp b/moses/TranslationOption.cpp
index 2d4a3e09e..4a09ddd61 100644
--- a/moses/TranslationOption.cpp
+++ b/moses/TranslationOption.cpp
@@ -72,13 +72,13 @@ void TranslationOption::CacheLexReorderingScores(const LexicalReordering &produc
m_lexReorderingScores[&producer] = score;
}
-void TranslationOption::Evaluate(const InputType &source)
+void TranslationOption::Evaluate(const InputType &input)
{
const Phrase &sourcePhrase = GetSourcePhrase();
cerr << m_sourceWordsRange << endl;
cerr << sourcePhrase << endl;
- m_targetPhrase.Evaluate(source);
+ m_targetPhrase.Evaluate(input, sourcePhrase);
}
const Phrase &TranslationOption::GetSourcePhrase() const