diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-12-08 15:56:55 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-12-08 15:56:55 +0300 |
commit | fdb5d9b282fe51fecca14f3d6226eb5980fbe6f5 (patch) | |
tree | 0bef491d0d2344e43cd5f407357cb3e79ada3d04 /moses/FF/Model1Feature.cpp | |
parent | 9528b56242de61c824b15e790cf4abe72e2ceb66 (diff) |
Code refactoring: All FF now get access to AllOptions at load time, so they don't have to rely on StaticData.
Diffstat (limited to 'moses/FF/Model1Feature.cpp')
-rw-r--r-- | moses/FF/Model1Feature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/FF/Model1Feature.cpp b/moses/FF/Model1Feature.cpp index 23a1fc0a3..835c8de32 100644 --- a/moses/FF/Model1Feature.cpp +++ b/moses/FF/Model1Feature.cpp @@ -159,7 +159,7 @@ void Model1Feature::SetParameter(const std::string& key, const std::string& valu } } -void Model1Feature::Load() +void Model1Feature::Load(AllOptions const& opts) { FEATUREVERBOSE(2, GetScoreProducerDescription() << ": Loading source vocabulary from file " << m_fileNameVcbS << " ..."); Model1Vocabulary vcbS; |