diff options
Diffstat (limited to 'tests/chart.hierarchical/moses.ini')
-rw-r--r-- | tests/chart.hierarchical/moses.ini | 53 |
1 files changed, 15 insertions, 38 deletions
diff --git a/tests/chart.hierarchical/moses.ini b/tests/chart.hierarchical/moses.ini index 9d6edec..71ca2ac 100644 --- a/tests/chart.hierarchical/moses.ini +++ b/tests/chart.hierarchical/moses.ini @@ -11,44 +11,6 @@ 0 T 0 1 T 1 -# translation tables: source-factors, target-factors, number of scores, file -[ttable-file] -6 0 0 5 ${MODEL_PATH}/hierarchical/phrase-table.0-0.1 -6 0 0 1 ${MODEL_PATH}/hierarchical/phrase-table.0-0.2 - -# 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.273687 - - -# translation model weights -[weight-t] -0.077197 -0.014533 -0.059406 -0.001891 --0.098314 -0.131945 - -# no generation models, no weight-generation section - -# word penalty -[weight-w] --0.343026 - [cube-pruning-pop-limit] 1000 @@ -67,3 +29,18 @@ X [weight-d] 1 + +[feature] +IRSTLM factor=0 order=5 num-features=1 path=${LM_PATH}/news.de.binlm +WordPenalty +UnknownWordPenalty +PhraseDictionaryMemory input-factor=0 output-factor=0 path=${MODEL_PATH}/hierarchical/phrase-table.0-0.1 num-features=5 table-limit=20 +PhraseDictionaryMemory input-factor=0 output-factor=0 path=${MODEL_PATH}/hierarchical/phrase-table.0-0.2 num-features=1 table-limit=20 + +[weight] +WordPenalty0= -0.148974 +IRSTLM0= 0.118861 +PhraseDictionaryMemory0= 0.077197 0.014533 0.059406 0.001891 -0.098314 +PhraseDictionaryMemory1= 0.131945 + + |