xref: /aosp_15_r20/external/cronet/third_party/icu/patches/khmer-dictbe.patch (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1diff --git a/source/common/dictbe.cpp b/source/common/dictbe.cpp
2index 3d672c03..9c3e3e36 100644
3--- a/source/common/dictbe.cpp
4+++ b/source/common/dictbe.cpp
5@@ -818,11 +818,11 @@ foundBest:
6 static const int32_t KHMER_LOOKAHEAD = 3;
7
8 // Will not combine a non-word with a preceding dictionary word longer than this
9-static const int32_t KHMER_ROOT_COMBINE_THRESHOLD = 3;
10+static const int32_t KHMER_ROOT_COMBINE_THRESHOLD = 10;
11
12 // Will not combine a non-word that shares at least this much prefix with a
13 // dictionary word, with a preceding word
14-static const int32_t KHMER_PREFIX_COMBINE_THRESHOLD = 3;
15+static const int32_t KHMER_PREFIX_COMBINE_THRESHOLD = 5;
16
17 // Minimum word size
18 static const int32_t KHMER_MIN_WORD = 2;
19