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:
Diffstat (limited to 'moses2/PhraseBased/Manager.cpp')
-rw-r--r--moses2/PhraseBased/Manager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/moses2/PhraseBased/Manager.cpp b/moses2/PhraseBased/Manager.cpp
index a317385d9..3d6391b2b 100644
--- a/moses2/PhraseBased/Manager.cpp
+++ b/moses2/PhraseBased/Manager.cpp
@@ -62,7 +62,8 @@ void Manager::Init()
FactorCollection &vocab = system.GetVocab();
//TODO: need option to choose Sentence vs SentenceWithCandidates
m_input = Moses2::SentenceWithCandidates::CreateFromString(GetPool(), vocab, system, m_inputStr);
- cerr << "Manager::Init: " << m_input->Debug(sys) << endl << flush;
+ cerr << "Manager::Init: " << m_input->Debug(system) << endl << flush;
+ system.featureFunctions.InitializeForInput(*m_input);
m_bitmaps = new Bitmaps(GetPool());