diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-18 16:14:26 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-18 16:14:26 +0400 |
commit | b6b7698b8a2a0b521e10c7609737dd3525c6f8bf (patch) | |
tree | 1a52dfd6e291b2fad1fa1404bad2a85a5b37ac9d | |
parent | f670031cdd7c3dbba27321b499c0171f464f4d1b (diff) |
update moses.ini to new format
-rw-r--r-- | tests/phrase.xml-markup/moses.ini | 43 |
1 files changed, 14 insertions, 29 deletions
diff --git a/tests/phrase.xml-markup/moses.ini b/tests/phrase.xml-markup/moses.ini index 8c8542f..531874c 100644 --- a/tests/phrase.xml-markup/moses.ini +++ b/tests/phrase.xml-markup/moses.ini @@ -4,35 +4,6 @@ ########################### ### PHARAOH CONFIG FILE ### ########################### - -# phrase table f, n, p(n|f) -[ttable-file] -1 0 0 1 ${TEST_PATH}/phrase-table - -# 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 -[ttable-limit] -#ttable element load limit 0 = all elements loaded -0 - -# distortion (reordering) weight -[weight-d] -1.0 - -# language model weight -[weight-l] -1.0 - -# translation model weight (phrase translation, lexical weighting) -[weight-t] -1.0 - -# word penalty -[weight-w] --5.0 - [distortion-limit] 25 @@ -55,3 +26,17 @@ nbest [xml-input] inclusive +[feature] +KENLM factor=0 order=3 num-features=1 lazyken=0 path=${LM_PATH}/europarl.en.srilm.gz +Distortion +WordPenalty +UnknownWordPenalty +PhraseDictionaryBinary input-factor=0 output-factor=0 path=${TEST_PATH}/phrase-table num-features=1 table-limit=0 + +[weight] +WordPenalty0= -5 +KENLM0= 1 +Distortion0= 1 +PhraseDictionaryBinary0= 1 + + |