aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-02-07 21:01:37 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-02-07 21:01:37 +0000
commit347cf7c15b0d94bda8677a776c01509a966195e2 (patch)
treea593ba110ffdc2274a9ed96f5877bfea09062d27 /src
parent92b68a6154c81a64ae348542f15e989ea9289601 (diff)
downloadrspamd-347cf7c15b0d94bda8677a776c01509a966195e2.tar.gz
rspamd-347cf7c15b0d94bda8677a776c01509a966195e2.zip
[Minor] Use more words and remove some languages
Diffstat (limited to 'src')
-rw-r--r--src/libmime/lang_detection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/lang_detection.c b/src/libmime/lang_detection.c
index 4e5103341..e38834999 100644
--- a/src/libmime/lang_detection.c
+++ b/src/libmime/lang_detection.c
@@ -26,7 +26,7 @@
#include <math.h>
static const gsize default_short_text_limit = 200;
-static const gsize default_words = 30;
+static const gsize default_words = 80;
static const gdouble update_prob = 0.6;
static const gchar *default_languages_path = RSPAMD_PLUGINSDIR "/languages";