Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame] | 1 | classifier "bayes" { |
2 | tokenizer { | ||||
3 | name = "osb"; | ||||
4 | } | ||||
5 | backend = "redis"; | ||||
6 | min_tokens = 11; | ||||
7 | min_learns = 5; | ||||
8 | new_schema = true; | ||||
9 | expire = 2592000; | ||||
10 | statfile { | ||||
11 | symbol = "BAYES_HAM"; | ||||
12 | spam = false; | ||||
13 | } | ||||
14 | statfile { | ||||
15 | symbol = "BAYES_SPAM"; | ||||
16 | spam = true; | ||||
17 | } | ||||
18 | autolearn { | ||||
19 | spam_threshold = 12.0; | ||||
20 | ham_threshold = -4.5; | ||||
21 | check_balance = true; | ||||
22 | min_balance = 0.9; | ||||
23 | } | ||||
24 | } |