diff options
author | hieu <hieu@hieu-Precision-WorkStation-T3400.(none)> | 2012-12-14 16:32:45 +0400 |
---|---|---|
committer | hieu <hieu@hieu-Precision-WorkStation-T3400.(none)> | 2012-12-14 16:32:45 +0400 |
commit | 55c46cab49ded8996965a289113cc94fbbf927c9 (patch) | |
tree | 12b001f9025cd1a782dfa1c15091163860f67d02 /moses/Parameter.h | |
parent | 54fc153a528041b90acfe81aa6cc7bd1aaa19406 (diff) |
train-model.perl create ini file in new format
Diffstat (limited to 'moses/Parameter.h')
-rw-r--r-- | moses/Parameter.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/moses/Parameter.h b/moses/Parameter.h index 0923964ff..db29cc2c0 100644 --- a/moses/Parameter.h +++ b/moses/Parameter.h @@ -67,7 +67,7 @@ protected: void AddWeight(const std::string &name, size_t ind, const std::vector<float> &weights); void ConvertWeightArgs(); void ConvertWeightArgsSingleWeight(const std::string &oldWeightName, const std::string &newWeightName); - void ConvertWeightArgsT(const std::string &oldWeightName, const std::string &newWeightName); + void ConvertWeightArgsPhraseModel(const std::string &oldWeightName, const std::string &newWeightName); void ConvertWeightArgsLM(const std::string &oldWeightName, const std::string &newWeightName); void ConvertWeightArgsDistortion(); void ConvertWeightArgsGeneration(const std::string &oldWeightName, const std::string &newWeightName); @@ -90,11 +90,6 @@ public: bool isParamSpecified(const std::string ¶mName) { return m_setting.find( paramName ) != m_setting.end(); } - - bool isParamShortNameSpecified(const std::string ¶mName) - { - return m_setting.find( GetFullName(paramName) ) != m_setting.end(); - } const std::string GetFullName(std::string abbr) { |