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:43:58 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-07-17 17:43:58 +0400
commit016d30bb959ac71754a481a0d0e0433d0ffa7b24 (patch)
tree5b90120907d151adc8d903fae6471df6bd052d51 /tests
parent47a30d54579e57d94fa5a5ec103be280bd874467 (diff)
update moses.ini to new format
Diffstat (limited to 'tests')
-rw-r--r--tests/chart.hierarchical-withkenlm/moses.ini54
-rw-r--r--tests/chart.hierarchical.ondisk/moses.ini3
-rw-r--r--tests/chart.hierarchical/moses.ini3
3 files changed, 14 insertions, 46 deletions
diff --git a/tests/chart.hierarchical-withkenlm/moses.ini b/tests/chart.hierarchical-withkenlm/moses.ini
index 999150d..2289320 100644
--- a/tests/chart.hierarchical-withkenlm/moses.ini
+++ b/tests/chart.hierarchical-withkenlm/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]
-8 0 3 ${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.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,5 +27,17 @@ X
20
1000
-[weight-d]
-1
+[feature]
+KENLM factor=0 order=3 num-features=1 lazyken=0 path=${LM_PATH}/news.de.arpalm.gz
+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
+KENLM0= 0.118861
+PhraseDictionaryMemory0= 0.077197 0.014533 0.059406 0.001891 -0.098314
+PhraseDictionaryMemory1= 0.131945
+
+
diff --git a/tests/chart.hierarchical.ondisk/moses.ini b/tests/chart.hierarchical.ondisk/moses.ini
index b15988c..3d5637b 100644
--- a/tests/chart.hierarchical.ondisk/moses.ini
+++ b/tests/chart.hierarchical.ondisk/moses.ini
@@ -27,9 +27,6 @@ X
20
1000
-[weight-d]
-1
-
[feature]
IRSTLM factor=0 order=5 num-features=1 path=${LM_PATH}/news.de.binlm
WordPenalty
diff --git a/tests/chart.hierarchical/moses.ini b/tests/chart.hierarchical/moses.ini
index 71ca2ac..c462a2c 100644
--- a/tests/chart.hierarchical/moses.ini
+++ b/tests/chart.hierarchical/moses.ini
@@ -27,9 +27,6 @@ X
20
1000
-[weight-d]
-1
-
[feature]
IRSTLM factor=0 order=5 num-features=1 path=${LM_PATH}/news.de.binlm
WordPenalty