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 <hieuhoang@gmail.com>2012-12-07 20:05:50 +0400
committerHieu Hoang <hieuhoang@gmail.com>2012-12-07 20:05:50 +0400
commitf212927368c42bfe3ea27eb7a7bb5959363505a1 (patch)
tree0b44e426a0bab3e390f8043ab18d1b22522aebd1 /moses/SearchNormalBatch.cpp
parentd1fcb37b06c741c37bdb56da2385c25429416285 (diff)
get rid of all overrides for GetScoreProducerDescription(). Except SyntacticLM - not sure if it should be separated from LM or not
Diffstat (limited to 'moses/SearchNormalBatch.cpp')
-rw-r--r--moses/SearchNormalBatch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/SearchNormalBatch.cpp b/moses/SearchNormalBatch.cpp
index b32cab0d2..b7f0152ca 100644
--- a/moses/SearchNormalBatch.cpp
+++ b/moses/SearchNormalBatch.cpp
@@ -19,7 +19,7 @@ SearchNormalBatch::SearchNormalBatch(Manager& manager, const InputType &source,
const vector<const StatefulFeatureFunction*>& ffs =
m_manager.GetTranslationSystem()->GetStatefulFeatureFunctions();
for (unsigned i = 0; i < ffs.size(); ++i) {
- if (ffs[i]->GetScoreProducerDescription() == "DLM_5gram") {
+ if (ffs[i]->GetScoreProducerDescription() == "DLM_5gram") { // TODO WFT
m_dlm_ffs[i] = const_cast<LanguageModel*>(static_cast<const LanguageModel* const>(ffs[i]));
m_dlm_ffs[i]->SetFFStateIdx(i);
}