diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-18 15:57:18 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-18 15:57:18 +0400 |
commit | 230d23705fcc77b60287b30cd7e90910a91da911 (patch) | |
tree | ea916ca0f63b03ab2a25887ad29176bd76328fdc | |
parent | c51d8d040b311adc3bd3318b58bcdd5a7d3494a1 (diff) |
update moses.ini to new format
-rw-r--r-- | tests/phrase.ptable-filtering/moses.ini | 47 |
1 files changed, 14 insertions, 33 deletions
diff --git a/tests/phrase.ptable-filtering/moses.ini b/tests/phrase.ptable-filtering/moses.ini index 6307257..97fd9fd 100644 --- a/tests/phrase.ptable-filtering/moses.ini +++ b/tests/phrase.ptable-filtering/moses.ini @@ -1,37 +1,4 @@ # reg testing - -[ttable-file] -0 0 0 6 ${MODEL_PATH}/ptable-filtering/phrase-table.gz - -# language model -[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 - -# distortion (reordering) weight -[weight-d] -0.01 - -# language model weight -[weight-l] -0.05 - -# translation model weight (phrase translation, lexical weighting) -[weight-t] -0.019268 -0.025749 -0.018038 -0.008511 -0.013410 --0.624610 - -# word penalty -[weight-w] --0.108496 - [distortion-limit] 6 @@ -50,3 +17,17 @@ T 0 [verbose] 3 +[feature] +KENLM factor=0 order=3 num-features=1 lazyken=0 path=${LM_PATH}/europarl.en.srilm.gz +Distortion +WordPenalty +UnknownWordPenalty +PhraseDictionaryMemory input-factor=0 output-factor=0 path=${MODEL_PATH}/ptable-filtering/phrase-table.gz num-features=6 table-limit=20 + +[weight] +WordPenalty0= -0.108496 +KENLM0= 0.05 +Distortion0= 0.01 +PhraseDictionaryMemory0= 0.019268 0.025749 0.018038 0.008511 0.01341 -0.62461 + + |