diff options
author | XapaJIaMnu <nheart@gmail.com> | 2015-06-25 15:12:33 +0300 |
---|---|---|
committer | XapaJIaMnu <nheart@gmail.com> | 2015-06-25 15:12:33 +0300 |
commit | 47a488767e4944e5768bda70fe3271528e753ef5 (patch) | |
tree | cc153a1da7e1771f70e020c9fa05bc53b14b7a8e /moses/TranslationTask.h | |
parent | 5a0168a6fae2a4e7a104aa9e99e7fbf17fc02c7d (diff) |
Enable the bias weights to be (re)set by the server.
Diffstat (limited to 'moses/TranslationTask.h')
-rw-r--r-- | moses/TranslationTask.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/moses/TranslationTask.h b/moses/TranslationTask.h index bf1add124..f37bad535 100644 --- a/moses/TranslationTask.h +++ b/moses/TranslationTask.h @@ -118,6 +118,8 @@ public: std::map<std::string, float> const& GetContextWeights() const; void SetContextWeights(std::string const& context_weights); + void ReSetContextWeights(std::map<std::string, float> const& new_weights); + protected: boost::shared_ptr<Moses::InputType> m_source; |