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

Unified Diff: source/common/dictbe.cpp

Issue 2442923002: ICU update to 58 part 2 (Closed)
Patch Set: apply more patches and updates; almost ready to roll Created 4 years, 2 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scripts/trim_data.sh ('k') | source/common/locmap.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/common/dictbe.cpp
diff --git a/source/common/dictbe.cpp b/source/common/dictbe.cpp
index 924f09bd5dd991e31bc088539e64da26abb3d1b2..80c27c0e704eec573d0cca3de897ddf697e0c738 100644
--- a/source/common/dictbe.cpp
+++ b/source/common/dictbe.cpp
@@ -834,11 +834,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;
« no previous file with comments | « scripts/trim_data.sh ('k') | source/common/locmap.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698