diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-14 15:36:40 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-14 15:36:40 +0400 |
commit | bfdedf682b3a73eb5035d473c533253f33e7f63b (patch) | |
tree | fc6d151a35adf1e9a7f8a61727328717157ecba0 /moses/Parameter.h | |
parent | dcf170a047fd93412dac43416d5edc3264983049 (diff) |
convert weight-p to PhrasePenalty. /Nicola Bertoldi
Diffstat (limited to 'moses/Parameter.h')
-rw-r--r-- | moses/Parameter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/moses/Parameter.h b/moses/Parameter.h index 4dd5e0d27..0c4fc3ed0 100644 --- a/moses/Parameter.h +++ b/moses/Parameter.h @@ -73,6 +73,7 @@ protected: void ConvertWeightArgsDistortion(); void ConvertWeightArgsGeneration(const std::string &oldWeightName, const std::string &newWeightName); void ConvertWeightArgsWordPenalty(); + void ConvertPhrasePenalty(); void CreateWeightsMap(); void WeightOverwrite(); void AddFeature(const std::string &line); |