Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieu@hoang.co.uk>2013-08-14 15:36:40 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-08-14 15:36:40 +0400
commitbfdedf682b3a73eb5035d473c533253f33e7f63b (patch)
treefc6d151a35adf1e9a7f8a61727328717157ecba0 /moses/Parameter.h
parentdcf170a047fd93412dac43416d5edc3264983049 (diff)
convert weight-p to PhrasePenalty. /Nicola Bertoldi
Diffstat (limited to 'moses/Parameter.h')
-rw-r--r--moses/Parameter.h1
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);