diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-17 17:55:00 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-17 17:55:00 +0400 |
commit | a35482556aab45fac9b7c7ec3d4101efb6ccaca4 (patch) | |
tree | a965f49d80c0f0b576767cb2a4e03a1be17c8a9c | |
parent | a21c9e6a4527d67185a9a90357bbaaee4e655a92 (diff) |
update moses.ini to new format
-rw-r--r-- | tests/chart.show-weights.target-syntax/moses.ini | 56 |
1 files changed, 15 insertions, 41 deletions
diff --git a/tests/chart.show-weights.target-syntax/moses.ini b/tests/chart.show-weights.target-syntax/moses.ini index 3ae39c7..ed87c7e 100644 --- a/tests/chart.show-weights.target-syntax/moses.ini +++ b/tests/chart.show-weights.target-syntax/moses.ini @@ -11,44 +11,6 @@ 0 T 0 1 T 1 -# translation tables: source-factors, target-factors, number of scores, file -[ttable-file] -2 0 0 5 ${MODEL_PATH}/target-syntax/phrase-table.0-0.1.ondisk -2 0 0 1 ${MODEL_PATH}/target-syntax/phrase-table.0-0.2.ondisk - -# no generation models, no generation-file section - -# language models: type(srilm/irstlm), factors, order, file -[lmodel-file] -1 0 5 ${LM_PATH}/news.de.binlm - - -# limit on how many phrase translations e for each phrase f are loaded -# 0 = all elements loaded -[ttable-limit] -20 - - -# language model weights -[weight-l] -0.210707 - - -# translation model weights -[weight-t] -0.067170 -0.024389 -0.013606 -0.024433 --0.103362 -0.017807 - -# no generation models, no weight-generation section - -# word penalty -[weight-w] --0.538526 - [cube-pruning-pop-limit] 1000 @@ -65,8 +27,20 @@ X 20 1000 -[weight-d] -1 - [show-weights] 1 + +[feature] +IRSTLM factor=0 order=5 num-features=1 path=${LM_PATH}/news.de.binlm +WordPenalty +UnknownWordPenalty +PhraseDictionaryOnDisk input-factor=0 output-factor=0 path=${MODEL_PATH}/target-syntax/phrase-table.0-0.1.ondisk num-features=5 table-limit=20 +PhraseDictionaryOnDisk input-factor=0 output-factor=0 path=${MODEL_PATH}/target-syntax/phrase-table.0-0.2.ondisk num-features=1 table-limit=20 + + +[weight] +WordPenalty0= -0.233879 +IRSTLM0= 0.0915089 +PhraseDictionaryOnDisk0= 0.06717 0.024389 0.013606 0.024433 -0.103362 +PhraseDictionaryOnDisk1= 0.017807 + |