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:50:11 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-07-18 15:50:11 +0400
commitb270bbdf61cbfa189251bdffc2b3eb417872cc12 (patch)
treeb4e5bd327e4d06a9faed24c549db5abba45b7dee
parenta4d6a481ea7aadd02b8899709eb535115108b183 (diff)
update moses.ini to new format
-rw-r--r--tests/phrase.nbest-multi-factor.distinct/moses.ini67
1 files changed, 18 insertions, 49 deletions
diff --git a/tests/phrase.nbest-multi-factor.distinct/moses.ini b/tests/phrase.nbest-multi-factor.distinct/moses.ini
index 842ebb8..64e0829 100644
--- a/tests/phrase.nbest-multi-factor.distinct/moses.ini
+++ b/tests/phrase.nbest-multi-factor.distinct/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
100
@@ -74,3 +25,21 @@ distinct
[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
+
+