mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-06 19:49:41 +03:00
Fix compiler warnings
This commit is contained in:
parent
c7de0dc624
commit
632d0e7a27
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user