2017-03-02 18:23:23 +08:00
|
|
|
classifier "bayes" {
|
|
|
|
tokenizer {
|
2018-07-25 07:06:12 +08:00
|
|
|
name = "osb";
|
2017-03-02 18:23:23 +08:00
|
|
|
}
|
|
|
|
backend = "redis";
|
|
|
|
min_tokens = 11;
|
2018-07-25 07:06:12 +08:00
|
|
|
min_learns = 5;
|
2018-04-26 19:51:55 +08:00
|
|
|
new_schema = true;
|
2018-07-25 07:06:12 +08:00
|
|
|
expire = 2592000;
|
2017-03-02 18:23:23 +08:00
|
|
|
statfile {
|
2019-10-12 19:14:34 +08:00
|
|
|
symbol = "BAYES_HAM";
|
|
|
|
spam = false;
|
2017-03-02 18:23:23 +08:00
|
|
|
}
|
|
|
|
statfile {
|
2019-10-12 19:14:34 +08: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 18:23:23 +08:00
|
|
|
}
|
|
|
|
}
|