From: Vsevolod Stakhov Date: Wed, 5 Jun 2019 12:59:29 +0000 (+0100) Subject: [Minor] Langdet: Increase cut-off limit X-Git-Tag: 2.0~823 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5fea03d7fb799392ba290643b27e585e49d5e590;p=rspamd.git [Minor] Langdet: Increase cut-off limit --- 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";