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-11-03 22:36:43 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-11-03 22:36:43 +0300
commitd773ad428ec65a8496dee51a3f398843fa90cf39 (patch)
treee683cf12e6a5c60fe311e936772d217aeac87caa /moses/TranslationOptionCollectionConfusionNet.cpp
parent9dc31e197be697582cfe724c8292c0e631841570 (diff)
More options cleanup.
Diffstat (limited to 'moses/TranslationOptionCollectionConfusionNet.cpp')
-rw-r--r--moses/TranslationOptionCollectionConfusionNet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/TranslationOptionCollectionConfusionNet.cpp b/moses/TranslationOptionCollectionConfusionNet.cpp
index 89c0a9363..dc8c66b9d 100644
--- a/moses/TranslationOptionCollectionConfusionNet.cpp
+++ b/moses/TranslationOptionCollectionConfusionNet.cpp
@@ -222,7 +222,7 @@ CreateTranslationOptionsForRangeLEGACY(const DecodeGraph &decodeGraph, size_t st
size_t endPos, bool adhereTableLimit, size_t graphInd)
{
bool retval = true;
- XmlInputType intype = StaticData::Instance().GetXmlInputType();
+ XmlInputType intype = m_ttask.lock()->options().input.xml_policy;
if ((intype != XmlExclusive) || !HasXmlOptionsOverlappingRange(startPos,endPos)) {
InputPathList &inputPathList = GetInputPathList(startPos, endPos);