diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-05 13:59:29 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-05 13:59:29 +0100 |
commit | 5fea03d7fb799392ba290643b27e585e49d5e590 (patch) | |
tree | 4a7b0695bc3f4b2ee443aa5ac7e907532b1f5431 /src/libmime/lang_detection.c | |
parent | c6d568b4bd53af5d9f7d25d9381e5d8b72153564 (diff) | |
download | rspamd-5fea03d7fb799392ba290643b27e585e49d5e590.tar.gz rspamd-5fea03d7fb799392ba290643b27e585e49d5e590.zip |
[Minor] Langdet: Increase cut-off limit
Diffstat (limited to 'src/libmime/lang_detection.c')
-rw-r--r-- | src/libmime/lang_detection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/lang_detection.c b/src/libmime/lang_detection.c index 873135e03..aad01ec8a 100644 --- a/src/libmime/lang_detection.c +++ b/src/libmime/lang_detection.c @@ -30,7 +30,7 @@ #include <unicode/ustring.h> #include <math.h> -static const gsize default_short_text_limit = 20; +static const gsize default_short_text_limit = 10; static const gsize default_words = 80; static const gdouble update_prob = 0.6; static const gchar *default_languages_path = RSPAMD_SHAREDIR "/languages"; |