aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/defines.h
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-02-10 20:53:58 +0900
committerTadashi G. Takaoka <takaoka@google.com>2011-02-17 13:59:41 +0900
commit887f11ee43ad621aa6ad93d535ab7f48dec73fc7 (patch)
tree87d898cdf40cb1f5483bc87c4ad427aa98bd46a5 /native/src/defines.h
parenta7b2ac26ee2b9aef6f8cd95849c7d8edbff5082b (diff)
downloadlatinime-887f11ee43ad621aa6ad93d535ab7f48dec73fc7.tar.gz
latinime-887f11ee43ad621aa6ad93d535ab7f48dec73fc7.tar.xz
latinime-887f11ee43ad621aa6ad93d535ab7f48dec73fc7.zip
Remove next letters frequency handling
Bug: 3428942 Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2
Diffstat (limited to 'native/src/defines.h')
-rw-r--r--native/src/defines.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/native/src/defines.h b/native/src/defines.h
index c1eaf0df2..7fa7e35e0 100644
--- a/native/src/defines.h
+++ b/native/src/defines.h
@@ -151,6 +151,9 @@ static void prof_out(void) {
#define MIN_USER_TYPED_LENGTH_FOR_MISSING_SPACE_SUGGESTION 3
#define MIN_USER_TYPED_LENGTH_FOR_EXCESSIVE_CHARACTER_SUGGESTION 3
+// The size of next letters frequency array. Zero will disable the feature.
+#define NEXT_LETTERS_SIZE 0
+
#define min(a,b) ((a)<(b)?(a):(b))
#endif // LATINIME_DEFINES_H