delete KenLM constructor that allows it to be used directly. Must be used via Construct()

This commit is contained in:
Hieu Hoang 2016-03-15 14:55:11 +00:00
parent 57147669f8
commit e1ccf07cc4
2 changed files with 0 additions and 9 deletions

View File

@ -73,14 +73,6 @@ private:
};
/////////////////////////////////////////////////////////////////
template <class Model>
KENLM<Model>::KENLM(size_t startInd, const std::string &line)
:StatefulFeatureFunction(startInd, line)
,m_load_method(util::POPULATE_OR_READ)
{
ReadParameters();
}
template <class Model>
KENLM<Model>::KENLM(size_t startInd, const std::string &line, const std::string &file, FactorType factorType, util::LoadMethod load_method)
:StatefulFeatureFunction(startInd, line)

View File

@ -27,7 +27,6 @@ template <class Model>
class KENLM : public StatefulFeatureFunction
{
public:
KENLM(size_t startInd, const std::string &line);
KENLM(size_t startInd, const std::string &line, const std::string &file, FactorType factorType, util::LoadMethod load_method);
virtual ~KENLM();