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:28:14 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-07-17 19:28:14 +0400
commit7e99b34654dcecbaa1235fe6b312d65ddbec338d (patch)
treecd48625e913dc04f106c3c8b2dcfb9895ec284b5
parent77e5a395bbac6c004ed8e7f5ea7755a4641ecf71 (diff)
update moses.ini to new format
-rw-r--r--tests/phrase.basic-surface-only-withirstlm-binlm/moses.ini44
1 files changed, 13 insertions, 31 deletions
diff --git a/tests/phrase.basic-surface-only-withirstlm-binlm/moses.ini b/tests/phrase.basic-surface-only-withirstlm-binlm/moses.ini
index 271b8b3..6727b4a 100644
--- a/tests/phrase.basic-surface-only-withirstlm-binlm/moses.ini
+++ b/tests/phrase.basic-surface-only-withirstlm-binlm/moses.ini
@@ -1,36 +1,5 @@
# moses.ini for regression test
-[ttable-file]
-0 0 0 5 ${MODEL_PATH}/basic-surface-only/phrase-table.gz
-
-# language model
-[lmodel-file]
-1 0 3 ${LM_PATH}/europarl.en.binlm
-# limit on how many phrase translations e for each phrase f are loaded
-[ttable-limit]
-#ttable element load limit 0 = all elements loaded
-20
-
-# distortion (reordering) weight
-[weight-d]
-0.141806519223522
-
-# language model weight
-[weight-l]
-0.142658800199951
-
-# translation model weight (phrase translation, lexical weighting)
-[weight-t]
-0.00402447059454402
-0.0685647475075862
-0.294089113124688
-0.0328320356515851
--0.0426081987467227
-
-# word penalty
-[weight-w]
--0.273416114951401
-
[distortion-limit]
4
@@ -47,3 +16,16 @@ T 0
[verbose]
2
+[feature]
+IRSTLM factor=0 order=3 num-features=1 path=${LM_PATH}/europarl.en.binlm
+Distortion
+WordPenalty
+UnknownWordPenalty
+PhraseDictionaryMemory input-factor=0 output-factor=0 path=${MODEL_PATH}/basic-surface-only/phrase-table.gz num-features=5 table-limit=20
+
+[weight]
+WordPenalty0= -0.273416
+IRSTLM0= 0.142659
+Distortion0= 0.141807
+PhraseDictionaryMemory0= 0.00402447 0.0685648 0.294089 0.032832 -0.0426082
+