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 | 63d0fb9d1ebc557f9093a62c7b65a0ba808e9162 (patch) | |
tree | 01c74f7316e27f183aa4b78a64fd159afd1beb51 /decoder/ff_lm.cc | |
parent | 908304f96397285d48172f6067d4b0eb26c41197 (diff) |
define
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@462 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/ff_lm.cc')
-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); |