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
diff options
context:
space:
mode:
authorHieu Hoang <hieu@hoang.co.uk>2013-07-17 19:03:23 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-07-17 19:03:23 +0400
commit285f851f24ef817c4a3c6c059f469796f638acb2 (patch)
tree70a74bbef642ebef42be1e9eb4790f34752fd3b8
parenta35482556aab45fac9b7c7ec3d4101efb6ccaca4 (diff)
update moses.ini to new format
-rw-r--r--tests/chart.target-syntax/moses.ini53
1 files changed, 13 insertions, 40 deletions
diff --git a/tests/chart.target-syntax/moses.ini b/tests/chart.target-syntax/moses.ini
index 81f4e39..b1dfc14 100644
--- a/tests/chart.target-syntax/moses.ini
+++ b/tests/chart.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]
-6 0 0 5 ${MODEL_PATH}/target-syntax/phrase-table.0-0.1
-6 0 0 1 ${MODEL_PATH}/target-syntax/phrase-table.0-0.2
-
-# 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,16 @@ 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
+PhraseDictionaryMemory input-factor=0 output-factor=0 path=${MODEL_PATH}/target-syntax/phrase-table.0-0.1 num-features=5 table-limit=20
+PhraseDictionaryMemory input-factor=0 output-factor=0 path=${MODEL_PATH}/target-syntax/phrase-table.0-0.2 num-features=1 table-limit=20
+
+[weight]
+WordPenalty0= -0.233879
+KENLM0= 0.0915089
+PhraseDictionaryMemory0= 0.06717 0.024389 0.013606 0.024433 -0.103362
+PhraseDictionaryMemory1= 0.017807
+