diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-29 17:19:41 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-29 17:19:41 +0400 |
commit | 4198e9fb3dd1e0b8c5e4438763830ab9b65a47e3 (patch) | |
tree | 85a788745dc8a6f40919ab1682ab713fd8a5fa6c | |
parent | 88a91ffa846ef3d772626de21ca7d77289629605 (diff) |
delete [ttable-limit] from ini files. Now in the phrase-table feature line
-rw-r--r-- | tests/phrase.phrase-length-feature/moses.ini | 7 | ||||
-rw-r--r-- | tests/phrase.source-word-deletion.nbest/moses.ini | 7 | ||||
-rw-r--r-- | tests/phrase.source-word-deletion/moses.ini | 7 |
3 files changed, 3 insertions, 18 deletions
diff --git a/tests/phrase.phrase-length-feature/moses.ini b/tests/phrase.phrase-length-feature/moses.ini index b36abb7..94d8815 100644 --- a/tests/phrase.phrase-length-feature/moses.ini +++ b/tests/phrase.phrase-length-feature/moses.ini @@ -1,10 +1,5 @@ # moses.ini for regression test -# 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-limit] 4 @@ -26,7 +21,7 @@ WordPenalty Distortion KENLM lazyken=0 order=3 factor=0 path=${LM_PATH}/europarl.en.srilm.gz PhraseLengthFeature -PhraseDictionaryMemory num-features=5 input-factor=0 output-factor=0 path=${MODEL_PATH}/ptable-with-alignment/phrase-table.gz +PhraseDictionaryMemory table-limit=20 num-features=5 input-factor=0 output-factor=0 path=${MODEL_PATH}/ptable-with-alignment/phrase-table.gz UnknownWordPenalty [weight] diff --git a/tests/phrase.source-word-deletion.nbest/moses.ini b/tests/phrase.source-word-deletion.nbest/moses.ini index 3ed1eb4..dc9d360 100644 --- a/tests/phrase.source-word-deletion.nbest/moses.ini +++ b/tests/phrase.source-word-deletion.nbest/moses.ini @@ -1,10 +1,5 @@ # moses.ini for regression test -# 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-limit] 4 @@ -26,7 +21,7 @@ WordPenalty Distortion KENLM lazyken=0 order=3 factor=0 path=${LM_PATH}/europarl.en.srilm.gz SourceWordDeletionFeature factor=0 path=${TEST_PATH}/words -PhraseDictionaryMemory num-features=5 input-factor=0 output-factor=0 path=${MODEL_PATH}/ptable-with-alignment/phrase-table.gz +PhraseDictionaryMemory table-limit=20 num-features=5 input-factor=0 output-factor=0 path=${MODEL_PATH}/ptable-with-alignment/phrase-table.gz UnknownWordPenalty [weight] diff --git a/tests/phrase.source-word-deletion/moses.ini b/tests/phrase.source-word-deletion/moses.ini index 91c5386..29184dd 100644 --- a/tests/phrase.source-word-deletion/moses.ini +++ b/tests/phrase.source-word-deletion/moses.ini @@ -1,10 +1,5 @@ # moses.ini for regression test -# 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-limit] 4 @@ -26,7 +21,7 @@ WordPenalty Distortion KENLM lazyken=0 order=3 factor=0 path=${LM_PATH}/europarl.en.srilm.gz SourceWordDeletionFeature factor=0 path=${TEST_PATH}/words -PhraseDictionaryMemory num-features=5 input-factor=0 output-factor=0 path=${MODEL_PATH}/ptable-with-alignment/phrase-table.gz +PhraseDictionaryMemory table-limit=20 num-features=5 input-factor=0 output-factor=0 path=${MODEL_PATH}/ptable-with-alignment/phrase-table.gz UnknownWordPenalty [weight] |