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:
authorXapaJIaMnu <nheart@gmail.com>2015-06-25 15:12:33 +0300
committerXapaJIaMnu <nheart@gmail.com>2015-06-25 15:12:33 +0300
commit47a488767e4944e5768bda70fe3271528e753ef5 (patch)
treecc153a1da7e1771f70e020c9fa05bc53b14b7a8e /moses/TranslationTask.h
parent5a0168a6fae2a4e7a104aa9e99e7fbf17fc02c7d (diff)
Enable the bias weights to be (re)set by the server.
Diffstat (limited to 'moses/TranslationTask.h')
-rw-r--r--moses/TranslationTask.h2
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;