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

github.com/moses-smt/moses-regression-tests.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHieu Hoang <hieu@hoang.co.uk>2013-07-17 17:48:05 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-07-17 17:48:05 +0400
commita21c9e6a4527d67185a9a90357bbaaee4e655a92 (patch)
treef8d5597abd2c767e7f43c18d7a14094eefd0df18 /tests
parent016d30bb959ac71754a481a0d0e0433d0ffa7b24 (diff)
update moses.ini to new format
Diffstat (limited to 'tests')
-rw-r--r--tests/chart.nbest-with-alignment/moses.ini54
1 files changed, 13 insertions, 41 deletions
diff --git a/tests/chart.nbest-with-alignment/moses.ini b/tests/chart.nbest-with-alignment/moses.ini
index e706ed3..b2ed9ce 100644
--- a/tests/chart.nbest-with-alignment/moses.ini
+++ b/tests/chart.nbest-with-alignment/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
@@ -65,11 +27,21 @@ X
20
1000
-[weight-d]
-1
-
[n-best-list]
nbest
5
+[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
+