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:
authorHieu Hoang <hieu@hoang.co.uk>2013-12-05 17:06:35 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-12-05 17:06:35 +0400
commitb33cf30bc10632193dee7ff913422c5be295b4dd (patch)
treeb48be6a2da8c26ac025a721c8a0d9c5b34be683c /moses/DecodeStep.cpp
parent19aa8c1056b6fa34570430b9a8a58b9ec58e41ab (diff)
transliteration pt obery backoff argument. Probably not threadable yet
Diffstat (limited to 'moses/DecodeStep.cpp')
-rw-r--r--moses/DecodeStep.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/moses/DecodeStep.cpp b/moses/DecodeStep.cpp
index 1327968e2..08078b732 100644
--- a/moses/DecodeStep.cpp
+++ b/moses/DecodeStep.cpp
@@ -26,7 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
namespace Moses
{
-DecodeStep::DecodeStep(const DecodeFeature *decodeFeature,
+DecodeStep::DecodeStep(DecodeFeature *decodeFeature,
const DecodeStep* prev,
const std::vector<FeatureFunction*> &features)
: m_decodeFeature(decodeFeature)
@@ -56,8 +56,9 @@ DecodeStep::DecodeStep(const DecodeFeature *decodeFeature,
} else {
m_featuresRemaining.push_back(feature);
}
-
}
+
+ decodeFeature->SetContainer(this);
}
DecodeStep::~DecodeStep() {}