From 63d0fb9d1ebc557f9093a62c7b65a0ba808e9162 Mon Sep 17 00:00:00 2001 From: graehl Date: Sat, 31 Jul 2010 03:21:34 +0000 Subject: define git-svn-id: https://ws10smt.googlecode.com/svn/trunk@462 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/ff_lm.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'decoder') 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); -- cgit v1.2.3