unplugged-system/external/cronet/third_party/icu/patches/khmer-dictbe.patch

19 lines
736 B
Diff

diff --git a/source/common/dictbe.cpp b/source/common/dictbe.cpp
index 768eb49b..85731bf8 100644
--- a/source/common/dictbe.cpp
+++ b/source/common/dictbe.cpp
@@ -818,11 +818,11 @@ foundBest:
static const int32_t KHMER_LOOKAHEAD = 3;
// Will not combine a non-word with a preceding dictionary word longer than this
-static const int32_t KHMER_ROOT_COMBINE_THRESHOLD = 3;
+static const int32_t KHMER_ROOT_COMBINE_THRESHOLD = 10;
// Will not combine a non-word that shares at least this much prefix with a
// dictionary word, with a preceding word
-static const int32_t KHMER_PREFIX_COMBINE_THRESHOLD = 3;
+static const int32_t KHMER_PREFIX_COMBINE_THRESHOLD = 5;
// Minimum word size
static const int32_t KHMER_MIN_WORD = 2;