Merge branch 'merge-cmd' of github.com:moses-smt/mosesdecoder into merge-cmd

This commit is contained in:
Hieu Hoang 2014-11-26 17:55:21 +00:00
commit 32869f5c7c

View File

@ -98,23 +98,8 @@ public:
return m_setting.find( paramName ) != m_setting.end();
}
const std::string GetFullName(std::string abbr) {
return m_fullname[abbr];
}
const std::string GetAbbreviation(std::string full) {
return m_abbreviation[full];
}
const PARAM_VEC &GetParamShortName(const std::string &paramName) {
return GetParam(GetFullName(paramName));
}
void OverwriteParam(const std::string &paramName, PARAM_VEC values);
void OverwriteParamShortName(const std::string &paramShortName, PARAM_VEC values) {
OverwriteParam(GetFullName(paramShortName),values);
}
std::vector<float> GetWeights(const std::string &name);
std::map<std::string, std::vector<float> > GetAllWeights() const {
return m_weights;