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-18 15:34:38 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-07-18 15:34:38 +0400
commit73f994202de7a5b60aa516b564206c1b2072690c (patch)
tree7d466deec56b05c4ae28eb286781ba1641347328 /tests
parenta21908e107cd719d055105d57d55b84d4694fbc6 (diff)
update moses.ini to new format
Diffstat (limited to 'tests')
-rw-r--r--tests/phrase.multi-factor-binptable/moses.ini68
1 files changed, 18 insertions, 50 deletions
diff --git a/tests/phrase.multi-factor-binptable/moses.ini b/tests/phrase.multi-factor-binptable/moses.ini
index 80a6405..2a4a7b3 100644
--- a/tests/phrase.multi-factor-binptable/moses.ini
+++ b/tests/phrase.multi-factor-binptable/moses.ini
@@ -13,56 +13,24 @@ T 0
G 0
T 1
-# translation tables: source-factors, target-factors, number of scores, file
-[ttable-file]
-1 0 0 5 ${MODEL_PATH}/multi-factor-binptable/phrase-table.0-0.gz
-1 1 1 5 ${MODEL_PATH}/multi-factor-binptable/phrase-table.1-1.gz
-
-# generation models: source-factors, target-factors
-[generation-file]
-0 1 2 ${MODEL_PATH}/multi-factor-binptable/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
-
-
[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-binptable/generation.0-1.gz
+Distortion
+WordPenalty
+UnknownWordPenalty
+PhraseDictionaryBinary input-factor=0 output-factor=0 path=${MODEL_PATH}/multi-factor-binptable/phrase-table.0-0.gz num-features=5 table-limit=20
+PhraseDictionaryBinary input-factor=1 output-factor=1 path=${MODEL_PATH}/multi-factor-binptable/phrase-table.1-1.gz num-features=5 table-limit=0
+
+[weight]
+WordPenalty0= -1
+KENLM0= 0.5
+Generation0= 0.3 0
+Distortion0= 0.6
+PhraseDictionaryBinary0= 0.2 0.2 0.2 0.2 0.2
+PhraseDictionaryBinary1= 0.2 0.2 0.2 0.2 0.2
+