diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-17 19:19:37 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-17 19:19:37 +0400 |
commit | e7232ba70ff3f32697d36e31df14dfd9fa744970 (patch) | |
tree | 37cfa66af386d7d39bd16f96a4d5bd33d7977ebc /tests | |
parent | fb1c4c8c4efa0603c358f007156dd8a087823cae (diff) |
merge
Diffstat (limited to 'tests')
-rw-r--r-- | tests/phrase.basic-surface-binptable/moses.ini | 47 |
1 files changed, 14 insertions, 33 deletions
diff --git a/tests/phrase.basic-surface-binptable/moses.ini b/tests/phrase.basic-surface-binptable/moses.ini index cedc536..a3e6c30 100644 --- a/tests/phrase.basic-surface-binptable/moses.ini +++ b/tests/phrase.basic-surface-binptable/moses.ini @@ -5,39 +5,6 @@ ### PHARAOH CONFIG FILE ### ########################### -# phrase table f, n, p(n|f) -[ttable-file] -1 0 0 5 ${MODEL_PATH}/basic-surface-binptable/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 -[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 @@ -54,3 +21,17 @@ T 0 [verbose] 2 +[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=${MODEL_PATH}/basic-surface-binptable/phrase-table.gz num-features=5 table-limit=20 + +[weight] +WordPenalty0= -0.273416 +KENLM0= 0.142659 +Distortion0= 0.141807 +PhraseDictionaryBinary0= 0.00402447 0.0685648 0.294089 0.032832 -0.0426082 + + |