diff options
author | Kenneth Heafield <github@kheafield.com> | 2016-08-18 00:54:31 +0300 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2016-08-18 00:54:31 +0300 |
commit | 632d0e7a279ba1beeb94852c0863d482b45d46e3 (patch) | |
tree | 8ebf376c1f323d4e954d9d6aaf8b2373c30b9139 /moses/LM | |
parent | c7de0dc624f4d08337a6a7fc1f525c09f4d889c3 (diff) |
Fix compiler warnings
Diffstat (limited to 'moses/LM')
-rw-r--r-- | moses/LM/Ken.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/moses/LM/Ken.cpp b/moses/LM/Ken.cpp index 964fb90b5..c7ac663cc 100644 --- a/moses/LM/Ken.cpp +++ b/moses/LM/Ken.cpp @@ -1,5 +1,3 @@ -// $Id$\ - /*********************************************************************** Moses - factored phrase-based language decoder Copyright (C) 2006 University of Edinburgh @@ -111,8 +109,8 @@ template <class Model> void LanguageModelKen<Model>::LoadModel(const std::string template <class Model> LanguageModelKen<Model>::LanguageModelKen(const std::string &line, const std::string &file, FactorType factorType, util::LoadMethod load_method) :LanguageModel(line) - ,m_factorType(factorType) ,m_beginSentenceFactor(FactorCollection::Instance().AddFactor(BOS_)) + ,m_factorType(factorType) { ReadParameters(); LoadModel(file, load_method); |