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:
authorHieu Hoang <hieuhoang@gmail.com>2013-03-06 18:04:09 +0400
committerHieu Hoang <hieuhoang@gmail.com>2013-03-06 18:04:09 +0400
commit881787de3f8018f1a76af1c0e033ccecb50a1644 (patch)
treee27b808a3fc2491d605fac1581132fae2568dff0 /moses/Parameter.h
parent3e60705ec2d345349db2dc093ec4f48f7e7b42ae (diff)
Allow overriding of feature name
Diffstat (limited to 'moses/Parameter.h')
-rw-r--r--moses/Parameter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/moses/Parameter.h b/moses/Parameter.h
index 3b3d7f3ea..686efb3da 100644
--- a/moses/Parameter.h
+++ b/moses/Parameter.h
@@ -113,6 +113,7 @@ public:
OverwriteParam(GetFullName(paramShortName),values);
}
+ std::vector<float> &GetWeights(const std::string &name);
std::vector<float> &GetWeights(const std::string &name, size_t ind);
std::set<std::string> GetWeightNames() const;