diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-31 03:21:34 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-31 03:21:34 +0000 |
commit | b7ef7163c7286aacc22da4a193d5d2ee94e99843 (patch) | |
tree | 06e52dbe741dcda3639fc111db989587cd59aa33 | |
parent | 56a187e98e4aa13d6e240be79637227473753f75 (diff) |
define
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@462 ec762483-ff6d-05da-a07a-a48fb63a330f
-rw-r--r-- | decoder/ff_lm.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/decoder/ff_lm.cc b/decoder/ff_lm.cc index 2b97bea8..e502ce93 100644 --- a/decoder/ff_lm.cc +++ b/decoder/ff_lm.cc @@ -1,4 +1,6 @@ -#define LM_FSA_SHORTEN_CONTEXT 1 +#ifndef LM_FSA_SHORTEN_CONTEXT +# define LM_FSA_SHORTEN_CONTEXT 1 +#endif // seems to work great - just not sure if it actually speeds anything up. theoretically slightly more compact (more sharing) forest, but unlikely to make a big difference // virtual LogP contextBOW(const VocabIndex *context, unsigned length); |