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 <ugermann@inf.ed.ac.uk>2015-03-15 23:38:31 +0300
committerUlrich Germann <ugermann@inf.ed.ac.uk>2015-03-15 23:38:31 +0300
commitad805c133bb61dac3b9d1555d221db71739d90d4 (patch)
tree1937e47b012c7e97df6308627c805ec5e514ed17 /moses/MockHypothesis.cpp
parent16d8ef67f0f2c350dbdc071a5102084d48c44600 (diff)
Instances of InputType (and derived classes) now know which TranslationTask (if any) created them.
This is a first step towards providing phrase tables etc. access to context information etc. associated with specific translation tasks.
Diffstat (limited to 'moses/MockHypothesis.cpp')
-rw-r--r--moses/MockHypothesis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/MockHypothesis.cpp b/moses/MockHypothesis.cpp
index e25fe4e52..a91e8e39f 100644
--- a/moses/MockHypothesis.cpp
+++ b/moses/MockHypothesis.cpp
@@ -37,7 +37,7 @@ MockHypothesisGuard::MockHypothesisGuard(
const vector<Alignment>& alignments,
const vector<string>& targetSegments)
: m_initialTransOpt(),
- m_sentence(),
+ m_sentence(NULL),
m_wp("WordPenalty"),
m_uwp("UnknownWordPenalty"),
m_dist("Distortion"),