diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-08 20:35:42 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-08 20:35:42 +0400 |
commit | 9341f28d759e263967787fe80ec2de18cee2e940 (patch) | |
tree | b62cebf4500a687d99500b2b302af61df49908e9 /moses/TranslationOption.cpp | |
parent | b044f31012fcd5c7b840453b91b36d0718f0cb5d (diff) |
Evaluate(InputType) --> Evaluate(InputType, Phrase source)
Diffstat (limited to 'moses/TranslationOption.cpp')
-rw-r--r-- | moses/TranslationOption.cpp | 4 |
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 |