From 5fea03d7fb799392ba290643b27e585e49d5e590 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 5 Jun 2019 13:59:29 +0100 Subject: [PATCH] [Minor] Langdet: Increase cut-off limit --- src/libmime/lang_detection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #include -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"; -- 2.39.5