diff options
Diffstat (limited to 'moses/GenerationDictionary.cpp')
-rw-r--r-- | moses/GenerationDictionary.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/GenerationDictionary.cpp b/moses/GenerationDictionary.cpp index 40ff28177..29a4fa2b3 100644 --- a/moses/GenerationDictionary.cpp +++ b/moses/GenerationDictionary.cpp @@ -44,8 +44,9 @@ GenerationDictionary::GenerationDictionary(const std::string &line) ReadParameters(); } -void GenerationDictionary::Load() +void GenerationDictionary::Load(AllOptions::ptr const& opts) { + m_options = opts; FactorCollection &factorCollection = FactorCollection::Instance(); const size_t numFeatureValuesInConfig = this->GetNumScoreComponents(); |