summaryrefslogtreecommitdiffstats
path: root/src/libmime/lang_detection.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-01-13 15:57:56 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-01-13 15:57:56 +0000
commitcb8f401b5fa59ec5dbb76a7f22db7a616ecc3821 (patch)
treeb0edfc38c2047404f5408e84496d3d1e24cd7f81 /src/libmime/lang_detection.h
parentf581bcea9161fe5086d45b355b8f675153047c3f (diff)
downloadrspamd-cb8f401b5fa59ec5dbb76a7f22db7a616ecc3821.tar.gz
rspamd-cb8f401b5fa59ec5dbb76a7f22db7a616ecc3821.zip
[Project] Add detection logic for words
Diffstat (limited to 'src/libmime/lang_detection.h')
-rw-r--r--src/libmime/lang_detection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmime/lang_detection.h b/src/libmime/lang_detection.h
index 77cd09081..79be098be 100644
--- a/src/libmime/lang_detection.h
+++ b/src/libmime/lang_detection.h
@@ -26,6 +26,7 @@ struct rspamd_language_elt;
struct rspamd_lang_detector_res {
gdouble prob;
+ gdouble total_words;
const gchar *lang;
struct rspamd_language_elt *elt;
};