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:
authorPhil Williams <philip.williams@mac.com>2015-02-23 14:12:00 +0300
committerPhil Williams <philip.williams@mac.com>2015-02-23 14:12:00 +0300
commit0bff50449e5dab52bddd46f28b450ddea5f50125 (patch)
treebda98d349aa1091974767984fb06767099648246 /moses/TranslationTask.cpp
parent372d14a9e807b466cc74b3571f2466c4e742ed00 (diff)
Fix -search-algorithm 8
Diffstat (limited to 'moses/TranslationTask.cpp')
-rw-r--r--moses/TranslationTask.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/moses/TranslationTask.cpp b/moses/TranslationTask.cpp
index eff0588b6..800efbc5c 100644
--- a/moses/TranslationTask.cpp
+++ b/moses/TranslationTask.cpp
@@ -88,8 +88,7 @@ void TranslationTask::Run()
// SCFG-based tree-to-string decoding (ask Phil Williams)
typedef Syntax::F2S::RuleMatcherCallback Callback;
typedef Syntax::T2S::RuleMatcherSCFG<Callback> RuleMatcher;
- const TreeInput *tree = NULL;
- manager = new Syntax::T2S::Manager<RuleMatcher>(*tree);
+ manager = new Syntax::T2S::Manager<RuleMatcher>(*m_source);
} else if (staticData.GetSearchAlgorithm() == ChartIncremental) {
// Ken's incremental decoding
manager = new Incremental::Manager(*m_source);