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:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-12-12 19:23:37 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-12-14 01:31:43 +0300
commitbb6e0157aac67e72b4aacbb87405014da552e140 (patch)
tree0fddd3da357960f41450378f48f033596ba34999 /moses/ChartManager.cpp
parentb899ab8175d5bb3733aa65a0658633c86aa2e237 (diff)
Code cleanup and refactoring.
Diffstat (limited to 'moses/ChartManager.cpp')
-rw-r--r--moses/ChartManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/ChartManager.cpp b/moses/ChartManager.cpp
index ba58a010e..55c8a1eeb 100644
--- a/moses/ChartManager.cpp
+++ b/moses/ChartManager.cpp
@@ -34,6 +34,7 @@
#include "moses/OutputCollector.h"
#include "moses/ChartKBestExtractor.h"
#include "moses/HypergraphOutput.h"
+#include "moses/TranslationTask.h"
using namespace std;
@@ -52,7 +53,7 @@ ChartManager::ChartManager(ttasksptr const& ttask)
, m_start(clock())
, m_hypothesisId(0)
, m_parser(ttask, m_hypoStackColl)
- , m_translationOptionList(StaticData::Instance().GetRuleLimit(), m_source)
+ , m_translationOptionList(ttask->options()->syntax.rule_limit, m_source)
{ }
ChartManager::~ChartManager()