diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2013-02-16 15:51:09 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2013-02-16 15:51:09 +0400 |
commit | 759ba16721ed9c5bc14628a19cd853f371490735 (patch) | |
tree | 71e494ba3e234483c0ed96ddbaaa1da3d9402014 /tests | |
parent | ce0bcc7fd876882a5e84f2488bce0c099f6cb5c5 (diff) | |
parent | d2eb88d691c4b5edee6a961b4226d49eb258dd8f (diff) |
Merge branch 'weight-new' of github.com:hieuhoang/moses-regression-tests into weight-new
Diffstat (limited to 'tests')
-rw-r--r-- | tests/phrase.target-word-insertion/moses.ini | 20 | ||||
-rw-r--r-- | tests/phrase.target-word-insertion/truth/results.txt | 1 |
2 files changed, 2 insertions, 19 deletions
diff --git a/tests/phrase.target-word-insertion/moses.ini b/tests/phrase.target-word-insertion/moses.ini index b2b5a1f..e6f0bde 100644 --- a/tests/phrase.target-word-insertion/moses.ini +++ b/tests/phrase.target-word-insertion/moses.ini @@ -1,21 +1,5 @@ # moses.ini for regression test -# 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 - -# translation model weight (phrase translation, lexical weighting) -[weight-t] -0.00402447059454402 -0.0685647475075862 -0.294089113124688 -0.0328320356515851 --0.0426081987467227 - [distortion-limit] 4 @@ -35,9 +19,9 @@ T 0 [feature] WordPenalty Distortion -KENLM lazyken=0 order=3 factor=0 path=/Users/hieuhoang/unison/workspace/github/hh-reg//lm/europarl.en.srilm.gz +KENLM lazyken=0 order=3 factor=0 path=${LM_PATH}/europarl.en.srilm.gz twi factor=0 path=${TEST_PATH}/words -PhraseModel implementation=0 num-features=5 input-factor=0 output-factor=0 path=/Users/hieuhoang/unison/workspace/github/hh-reg//models/ptable-with-alignment/phrase-table.gz +PhraseModel implementation=0 num-features=5 input-factor=0 output-factor=0 table-limit=20 path=${MODEL_PATH}/ptable-with-alignment/phrase-table.gz [weight] WordPenalty0= -0.273416114951401 diff --git a/tests/phrase.target-word-insertion/truth/results.txt b/tests/phrase.target-word-insertion/truth/results.txt index 51cc40f..6709615 100644 --- a/tests/phrase.target-word-insertion/truth/results.txt +++ b/tests/phrase.target-word-insertion/truth/results.txt @@ -1,6 +1,5 @@ TRANSLATION_1=the first time the realm of the constitution TRANSLATION_2=the rule of law -PTLOAD_TIME ~ 4.000 SCORE_1 = -1.400 SCORE_2 = -0.487 TOTAL_WALLTIME ~ 4 |