mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 22:14:57 +03:00
Merge branch 'merge-cmd' of github.com:moses-smt/mosesdecoder into merge-cmd
This commit is contained in:
commit
32869f5c7c
@ -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 ¶mName) {
|
||||
return GetParam(GetFullName(paramName));
|
||||
}
|
||||
|
||||
void OverwriteParam(const std::string ¶mName, PARAM_VEC values);
|
||||
|
||||
void OverwriteParamShortName(const std::string ¶mShortName, 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;
|
||||
|
Loading…
Reference in New Issue
Block a user