aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/defines.h
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-03-06 19:54:03 +0900
committerJean Chalard <jchalard@google.com>2012-03-21 17:50:55 +0900
commit6c30061c70565cbdddf7b8b1b91e60317526fd7a (patch)
treec6b4a4f8f49bcbe143907c6d9e29943cd199cb28 /native/src/defines.h
parent1fe943aabdf6c9a40c634bf4a5450cbed4f6c136 (diff)
downloadlatinime-6c30061c70565cbdddf7b8b1b91e60317526fd7a.tar.gz
latinime-6c30061c70565cbdddf7b8b1b91e60317526fd7a.tar.xz
latinime-6c30061c70565cbdddf7b8b1b91e60317526fd7a.zip
Generalize the digraph code
Bug: 5140033 Change-Id: I19c8c89f79f7c1ce1fba58d50bc2697747052599
Diffstat (limited to 'native/src/defines.h')
-rw-r--r--native/src/defines.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/native/src/defines.h b/native/src/defines.h
index b0dbffa0f..21215343e 100644
--- a/native/src/defines.h
+++ b/native/src/defines.h
@@ -232,9 +232,9 @@ static inline void prof_out(void) {
#define FIRST_WORD_INDEX 0
-// TODO: Reduce this constant if possible; check the maximum number of umlauts in the same German
-// word in the dictionary
-#define DEFAULT_MAX_UMLAUT_SEARCH_DEPTH 5
+// TODO: Reduce this constant if possible; check the maximum number of digraphs in the same
+// word in the dictionary for languages with digraphs, like German and French
+#define DEFAULT_MAX_DIGRAPH_SEARCH_DEPTH 5
// Minimum suggest depth for one word for all cases except for missing space suggestions.
#define MIN_SUGGEST_DEPTH 1