2017-03-02 11:23:23 +01:00
|
|
|
classifier "bayes" {
|
|
|
|
tokenizer {
|
2018-07-25 01:06:12 +02:00
|
|
|
name = "osb";
|
2017-03-02 11:23:23 +01:00
|
|
|
}
|
|
|
|
backend = "redis";
|
|
|
|
min_tokens = 11;
|
2018-07-25 01:06:12 +02:00
|
|
|
min_learns = 5;
|
2018-04-26 13:51:55 +02:00
|
|
|
new_schema = true;
|
2018-07-25 01:06:12 +02:00
|
|
|
expire = 2592000;
|
2017-03-02 11:23:23 +01:00
|
|
|
statfile {
|
2019-10-12 13:14:34 +02:00
|
|
|
symbol = "BAYES_HAM";
|
|
|
|
spam = false;
|
2017-03-02 11:23:23 +01:00
|
|
|
}
|
|
|
|
statfile {
|
2019-10-12 13:14:34 +02:00
|
|
|
symbol = "BAYES_SPAM";
|
|
|
|
spam = true;
|
|
|
|
}
|
|
|
|
autolearn {
|
|
|
|
spam_threshold = 12.0;
|
|
|
|
ham_threshold = -4.5;
|
|
|
|
check_balance = true;
|
|
|
|
min_balance = 0.9;
|
2017-03-02 11:23:23 +01:00
|
|
|
}
|
|
|
|
}
|