From 9db2cb4a374170788d8653add73ad5bd0ebdca6b Mon Sep 17 00:00:00 2001 From: Keisuke Kuroyanagi Date: Tue, 16 Sep 2014 19:26:17 +0900 Subject: [PATCH] Make MAX_PREV_WORD_COUNT_FOR_N_GRAM 2. Bug: 14425059 Change-Id: Iefacd7e4a6c256658a58856240310eeb91ae32db --- native/jni/src/defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/jni/src/defines.h b/native/jni/src/defines.h index 57e18884d..56d8bbb72 100644 --- a/native/jni/src/defines.h +++ b/native/jni/src/defines.h @@ -338,7 +338,7 @@ static inline void prof_out(void) { #define MAX_POINTER_COUNT_G 2 // (MAX_PREV_WORD_COUNT_FOR_N_GRAM + 1)-gram is supported. -#define MAX_PREV_WORD_COUNT_FOR_N_GRAM 1 +#define MAX_PREV_WORD_COUNT_FOR_N_GRAM 2 #define DISALLOW_DEFAULT_CONSTRUCTOR(TypeName) \ TypeName() = delete