diff options
Diffstat (limited to 'conf/statistic.conf')
-rw-r--r-- | conf/statistic.conf | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/conf/statistic.conf b/conf/statistic.conf index d9b9a1b72..d2b5b147a 100644 --- a/conf/statistic.conf +++ b/conf/statistic.conf @@ -26,19 +26,20 @@ classifier "bayes" { cache { path = "${DBDIR}/learn_cache.sqlite"; } + new_schema = true; # Always use new schema + store_tokens = false; # Redefine if storing of tokens is desired + signatures = false; # Store learn signatures + #per_user = true; # Enable per user classifier min_tokens = 11; - backend = "sqlite3"; - languages_enabled = true; + backend = "redis"; min_learns = 200; statfile { symbol = "BAYES_HAM"; - path = "${DBDIR}/bayes.ham.sqlite"; spam = false; } statfile { symbol = "BAYES_SPAM"; - path = "${DBDIR}/bayes.spam.sqlite"; spam = true; } learn_condition =<<EOD |