diff options
Diffstat (limited to 'defer/Joint.h')
-rw-r--r-- | defer/Joint.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/defer/Joint.h b/defer/Joint.h index 1dbdb019e..88547585a 100644 --- a/defer/Joint.h +++ b/defer/Joint.h @@ -58,7 +58,7 @@ public: delete m_lmImpl; } - bool Load(const std::string &filePath + bool Load(AllOptions const& opts, const std::string &filePath , const std::vector<FactorType> &factorTypes , size_t nGramOrder) { m_factorTypes = FactorMask(factorTypes); @@ -77,7 +77,7 @@ public: m_sentenceEndWord[factorType] = factorCollection.AddFactor(Output, factorType, EOS_); } - m_lmImpl->Load(); + m_lmImpl->Load(AllOptions const& opts); } LMResult GetValueForgotState(const std::vector<const Word*> &contextFactor, FFState &outState) const { |