diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2013-02-07 00:05:00 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2013-02-07 00:05:00 +0400 |
commit | f7e3f200137ea674130a91e84339b50abcd7871f (patch) | |
tree | 1bf3e95603a807654c00bc4b0608a5a3cbd985f6 /moses/Parameter.h | |
parent | 5a26a4c84feb347da0cbfc58f59c3dc9038cc49f (diff) |
each language model should have separate description, rather than just 'LM'
Diffstat (limited to 'moses/Parameter.h')
-rw-r--r-- | moses/Parameter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/moses/Parameter.h b/moses/Parameter.h index eff961721..55a7924e9 100644 --- a/moses/Parameter.h +++ b/moses/Parameter.h @@ -23,6 +23,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA #define moses_Parameter_h #include <string> +#include <set> #include <map> #include <vector> #include "TypeDef.h" @@ -113,6 +114,7 @@ public: } std::vector<float> &GetWeights(const std::string &name, size_t ind); + std::set<std::string> GetWeightNames() const; const PARAM_MAP &GetParams() const { return m_setting; } |