summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-01-27 16:02:05 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-01-27 16:02:05 +0000
commit210650dbf0d3339fc5360ab8ec2ae32de3c77080 (patch)
tree084724dc60be563382a141cb47554c2b3ee72262
parent12f684c9b1c2dcc350c0f271d89b17f30e25ce17 (diff)
downloadrspamd-210650dbf0d3339fc5360ab8ec2ae32de3c77080.tar.gz
rspamd-210650dbf0d3339fc5360ab8ec2ae32de3c77080.zip
[Minor] Adjust heuristic coefficients
-rw-r--r--src/libmime/lang_detection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmime/lang_detection.c b/src/libmime/lang_detection.c
index 04bff86b3..52a62f014 100644
--- a/src/libmime/lang_detection.c
+++ b/src/libmime/lang_detection.c
@@ -972,8 +972,8 @@ struct rspamd_frequency_sort_cbdata {
gdouble mean;
};
-static const gdouble tier1_adjustment = 0.25;
-static const gdouble frequency_adjustment = 0.25;
+static const gdouble tier1_adjustment = 0.6;
+static const gdouble frequency_adjustment = 0.4;
static gint
rspamd_language_detector_cmp_heuristic (gconstpointer a, gconstpointer b,