diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2012-12-07 20:05:50 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2012-12-07 20:05:50 +0400 |
commit | f212927368c42bfe3ea27eb7a7bb5959363505a1 (patch) | |
tree | 0b44e426a0bab3e390f8043ab18d1b22522aebd1 /moses/SearchNormalBatch.cpp | |
parent | d1fcb37b06c741c37bdb56da2385c25429416285 (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.cpp | 2 |
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); } |