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 19:10:53 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-07-17 19:10:53 +0400
commit0b656d3e3f19d46fe9511a834407e6c118fc1f92 (patch)
treebf3e09580f3900ae474e9ac0061543dd386dec6f /tests
parent285f851f24ef817c4a3c6c059f469796f638acb2 (diff)
update moses.ini to new format
Diffstat (limited to 'tests')
-rw-r--r--tests/chart.target-syntax.ondisk/moses.ini54
1 files changed, 14 insertions, 40 deletions
diff --git a/tests/chart.target-syntax.ondisk/moses.ini b/tests/chart.target-syntax.ondisk/moses.ini
index 0e40974..4f64be3 100644
--- a/tests/chart.target-syntax.ondisk/moses.ini
+++ b/tests/chart.target-syntax.ondisk/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]
-8 0 5 ${LM_PATH}/news.de.arpalm.gz
-
-
-# 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,5 +27,17 @@ X
20
1000
-[weight-d]
-1
+[feature]
+KENLM factor=0 order=5 num-features=1 lazyken=0 path=${LM_PATH}/news.de.arpalm.gz
+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
+KENLM0= 0.0915089
+PhraseDictionaryOnDisk0= 0.06717 0.024389 0.013606 0.024433 -0.103362
+PhraseDictionaryOnDisk1= 0.017807
+
+