Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Side by Side Diff: patches/khmer-dictbe.patch

Issue 2442923002: ICU update to 58 part 2 (Closed)
Patch Set: apply more patches and updates; almost ready to roll Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « patches/emoji_props.patch ('k') | patches/linebrk.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 diff --git a/source/common/dictbe.cpp b/source/common/dictbe.cpp 1 diff --git a/source/common/dictbe.cpp b/source/common/dictbe.cpp
2 index c5aa454..88e9139 100644 2 index 924f09b..80c27c0 100644
3 --- a/source/common/dictbe.cpp 3 --- a/source/common/dictbe.cpp
4 +++ b/source/common/dictbe.cpp 4 +++ b/source/common/dictbe.cpp
5 @@ -832,11 +832,11 @@ foundBest: 5 @@ -834,11 +834,11 @@ foundBest:
6 static const int32_t KHMER_LOOKAHEAD = 3; 6 static const int32_t KHMER_LOOKAHEAD = 3;
7 7
8 // Will not combine a non-word with a preceding dictionary word longer than thi s 8 // Will not combine a non-word with a preceding dictionary word longer than thi s
9 -static const int32_t KHMER_ROOT_COMBINE_THRESHOLD = 3; 9 -static const int32_t KHMER_ROOT_COMBINE_THRESHOLD = 3;
10 +static const int32_t KHMER_ROOT_COMBINE_THRESHOLD = 10; 10 +static const int32_t KHMER_ROOT_COMBINE_THRESHOLD = 10;
11 11
12 // Will not combine a non-word that shares at least this much prefix with a 12 // Will not combine a non-word that shares at least this much prefix with a
13 // dictionary word, with a preceding word 13 // dictionary word, with a preceding word
14 -static const int32_t KHMER_PREFIX_COMBINE_THRESHOLD = 3; 14 -static const int32_t KHMER_PREFIX_COMBINE_THRESHOLD = 3;
15 +static const int32_t KHMER_PREFIX_COMBINE_THRESHOLD = 5; 15 +static const int32_t KHMER_PREFIX_COMBINE_THRESHOLD = 5;
16 16
17 // Minimum word size 17 // Minimum word size
18 static const int32_t KHMER_MIN_WORD = 2; 18 static const int32_t KHMER_MIN_WORD = 2;
OLDNEW
« no previous file with comments | « patches/emoji_props.patch ('k') | patches/linebrk.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698