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-18 15:45:16 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-07-18 15:45:16 +0400
commita4d6a481ea7aadd02b8899709eb535115108b183 (patch)
tree42492978d354402844460a85d10fcfe2903c4d30
parentf1e9cbbe73731c8490e51dc98ddd3e1dc49ff662 (diff)
update moses.ini to new format
-rw-r--r--tests/phrase.nbest-multi-factor/moses.ini68
1 files changed, 19 insertions, 49 deletions
diff --git a/tests/phrase.nbest-multi-factor/moses.ini b/tests/phrase.nbest-multi-factor/moses.ini
index ef732ac..3ee13a2 100644
--- a/tests/phrase.nbest-multi-factor/moses.ini
+++ b/tests/phrase.nbest-multi-factor/moses.ini
@@ -17,55 +17,6 @@ T 0
G 0
T 1
-# translation tables: source-factors, target-factors, number of scores, file
-[ttable-file]
-0 0 0 5 ${MODEL_PATH}/multi-factor/phrase-table.0-0.gz
-1 1 1 5 ${MODEL_PATH}/multi-factor/phrase-table.1-1.gz
-
-# generation models: source-factors, target-factors
-[generation-file]
-0 1 2 ${MODEL_PATH}/multi-factor/generation.0-1.gz
-
-# language models: 0, factors, type, file
-[lmodel-file]
-8 0 3 ${LM_PATH}/europarl.en.srilm.gz
-
-# limit on how many phrase translations e for each phrase f are loaded
-# 0 = all elements loaded
-[ttable-limit]
-20
-0
-
-# distortion (reordering) weight
-[weight-d]
-0.6
-
-# language model weights
-[weight-l]
-0.5
-
-# translation model weights
-[weight-t]
-0.2
-0.2
-0.2
-0.2
-0.2
-0.2
-0.2
-0.2
-0.2
-0.2
-
-# generation model weights
-[weight-generation]
-0.3
-0
-
-# word penalty
-[weight-w]
--1
-
[n-best-list]
nbest
2
@@ -73,3 +24,22 @@ nbest
[verbose]
2
+
+[feature]
+KENLM factor=0 order=3 num-features=1 lazyken=0 path=${LM_PATH}/europarl.en.srilm.gz
+Generation input-factor=0 output-factor=1 num-features=2 path=${MODEL_PATH}/multi-factor/generation.0-1.gz
+Distortion
+WordPenalty
+UnknownWordPenalty
+PhraseDictionaryMemory input-factor=0 output-factor=0 path=${MODEL_PATH}/multi-factor/phrase-table.0-0.gz num-features=5 table-limit=20
+PhraseDictionaryBinary input-factor=1 output-factor=1 path=${MODEL_PATH}/multi-factor/phrase-table.1-1.gz num-features=5 table-limit=0
+
+[weight]
+WordPenalty0= -1
+KENLM0= 0.5
+Generation0= 0.3 0
+Distortion0= 0.6
+PhraseDictionaryMemory0= 0.2 0.2 0.2 0.2 0.2
+PhraseDictionaryBinary0= 0.2 0.2 0.2 0.2 0.2
+
+