]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Langdet: Increase cut-off limit
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 5 Jun 2019 12:59:29 +0000 (13:59 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 5 Jun 2019 12:59:29 +0000 (13:59 +0100)
src/libmime/lang_detection.c

index 873135e030f6e545c7885e828db9a76027769f33..aad01ec8a8d37a906d10cb96136f85e18ed3874e 100644 (file)
@@ -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";