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:
authorBarry Haddow <barry.haddow@gmail.com>2014-08-11 14:49:38 +0400
committerBarry Haddow <barry.haddow@gmail.com>2014-08-11 14:49:38 +0400
commit27eee55a57d08b2f2cd30cd28aa8ab5e1145cfec (patch)
treeaecacd65653133474b42b4eaeea3b48bf78a9d4c /moses/ChartManager.cpp
parentc5b3f67877cb70a64243d9f78d4656c1244de1e9 (diff)
parent79b6b602374186d310095aea13a2f392bc1d5927 (diff)
Merge branch 'master' of github.com:moses-smt/mosesdecoder
Diffstat (limited to 'moses/ChartManager.cpp')
-rw-r--r--moses/ChartManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/ChartManager.cpp b/moses/ChartManager.cpp
index 97d05a60e..c7abc697d 100644
--- a/moses/ChartManager.cpp
+++ b/moses/ChartManager.cpp
@@ -87,7 +87,7 @@ void ChartManager::ProcessSentence()
m_translationOptionList.ApplyThreshold();
const InputPath &inputPath = m_parser.GetInputPath(range);
- m_translationOptionList.Evaluate(m_source, inputPath);
+ m_translationOptionList.EvaluateWithSourceContext(m_source, inputPath);
// decode
ChartCell &cell = m_hypoStackColl.Get(range);
@@ -143,7 +143,7 @@ void ChartManager::AddXmlChartOptions()
RuleCubeItem* item = new RuleCubeItem( *opt, m_hypoStackColl );
ChartHypothesis* hypo = new ChartHypothesis(*opt, *item, *this);
- hypo->Evaluate();
+ hypo->EvaluateWhenApplied();
ChartCell &cell = m_hypoStackColl.Get(range);