mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-06 19:49:41 +03:00
delete KenLM constructor that allows it to be used directly. Must be used via Construct()
This commit is contained in:
parent
57147669f8
commit
e1ccf07cc4
@ -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)
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user