aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_api.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-13 17:47:57 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-13 17:48:13 +0100
commit23d9a026aa817ebce23cd28cb50be559e6f85896 (patch)
tree571544e530935276fa938a1ee49dad599b66e9dc /src/libstat/stat_api.h
parentdbff4c2f3c72e8946f79bbcbc2e1e2262b3ce458 (diff)
downloadrspamd-23d9a026aa817ebce23cd28cb50be559e6f85896.tar.gz
rspamd-23d9a026aa817ebce23cd28cb50be559e6f85896.zip
[Feature] Add unigramms support in bayes
Diffstat (limited to 'src/libstat/stat_api.h')
-rw-r--r--src/libstat/stat_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstat/stat_api.h b/src/libstat/stat_api.h
index 6c2604e89..a4e02a591 100644
--- a/src/libstat/stat_api.h
+++ b/src/libstat/stat_api.h
@@ -31,6 +31,7 @@
#define RSPAMD_STAT_TOKEN_FLAG_LUA_META (1 << 2)
#define RSPAMD_STAT_TOKEN_FLAG_EXCEPTION (1 << 3)
#define RSPAMD_STAT_TOKEN_FLAG_SUBJECT (1 << 4)
+#define RSPAMD_STAT_TOKEN_FLAG_UNIGRAM (1 << 5)
typedef struct rspamd_stat_token_s {
const gchar *begin;