diff options
author | Phil Williams <philip.williams@mac.com> | 2015-02-23 14:12:00 +0300 |
---|---|---|
committer | Phil Williams <philip.williams@mac.com> | 2015-02-23 14:12:00 +0300 |
commit | 0bff50449e5dab52bddd46f28b450ddea5f50125 (patch) | |
tree | bda98d349aa1091974767984fb06767099648246 /moses/TranslationTask.cpp | |
parent | 372d14a9e807b466cc74b3571f2466c4e742ed00 (diff) |
Fix -search-algorithm 8
Diffstat (limited to 'moses/TranslationTask.cpp')
-rw-r--r-- | moses/TranslationTask.cpp | 3 |
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); |