diff options
Diffstat (limited to 'moses/TypeDef.h')
-rw-r--r-- | moses/TypeDef.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/moses/TypeDef.h b/moses/TypeDef.h index fb9fd56cb..7852d130d 100644 --- a/moses/TypeDef.h +++ b/moses/TypeDef.h @@ -59,7 +59,11 @@ 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; -const size_t DEFAULT_MAX_PHRASE_LENGTH = 20; +#ifdef PT_UG + const size_t DEFAULT_MAX_PHRASE_LENGTH = -1; +#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; |