diff options
author | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2014-08-31 16:27:17 +0400 |
---|---|---|
committer | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2014-08-31 16:27:17 +0400 |
commit | ab35f6d4a38917e26098b2dec8be43fd0e29fe87 (patch) | |
tree | 7bc4b48bae797aefb4d2439e610805d71f98b5ef /moses/TypeDef.h | |
parent | 1aa5c4fa35bc4c72921e8a30e9d10a277d702276 (diff) |
Back to the standard default max phrase length of 20 with --with-mm.
Diffstat (limited to 'moses/TypeDef.h')
-rw-r--r-- | moses/TypeDef.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/moses/TypeDef.h b/moses/TypeDef.h index a5c434d4b..cdcb99dbc 100644 --- a/moses/TypeDef.h +++ b/moses/TypeDef.h @@ -60,12 +60,12 @@ const size_t DEFAULT_MAX_HYPOSTACK_SIZE = 200; const size_t DEFAULT_MAX_TRANS_OPT_CACHE_SIZE = 10000; const size_t DEFAULT_MAX_TRANS_OPT_SIZE = 5000; const size_t DEFAULT_MAX_PART_TRANS_OPT_SIZE = 10000; -#ifdef PT_UG +//#ifdef PT_UG // setting to std::numeric_limits<size_t>::max() makes the regression test for (deprecated) PhraseDictionaryDynamicSuffixArray fail. - const size_t DEFAULT_MAX_PHRASE_LENGTH = 100000; -#else - const size_t DEFAULT_MAX_PHRASE_LENGTH = 20; -#endif +// const size_t DEFAULT_MAX_PHRASE_LENGTH = 100000; +//#else +const size_t DEFAULT_MAX_PHRASE_LENGTH = 20; +//#endif const size_t DEFAULT_MAX_CHART_SPAN = 10; const size_t ARRAY_SIZE_INCR = 10; //amount by which a phrase gets resized when necessary const float LOWEST_SCORE = -100.0f; |