Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'moses/GenerationDictionary.cpp')
-rw-r--r--moses/GenerationDictionary.cpp3
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();