diff options
author | cebka@lenovo-laptop <cebka@lenovo-laptop> | 2010-03-01 18:37:06 +0300 |
---|---|---|
committer | cebka@lenovo-laptop <cebka@lenovo-laptop> | 2010-03-01 18:37:06 +0300 |
commit | 74cf00015278784d04d26b44bcf326f9493f7d62 (patch) | |
tree | afe42b0a47504bf383d755e1b3254e1164944712 /src/filter.c | |
parent | 0fec0b5c2d20fb505f1b8345d48b5098fe5598f6 (diff) | |
download | rspamd-74cf00015278784d04d26b44bcf326f9493f7d62.tar.gz rspamd-74cf00015278784d04d26b44bcf326f9493f7d62.zip |
* Add weights command for getting weights of each message by each statfile
* Add ability to specify multiplier when learning
* Add statistics about spam and ham messages
Diffstat (limited to 'src/filter.c')
-rw-r--r-- | src/filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filter.c b/src/filter.c index 9ad1362f0..a300820da 100644 --- a/src/filter.c +++ b/src/filter.c @@ -489,7 +489,7 @@ process_autolearn (struct statfile *st, struct worker_task *task, GTree * tokens return; } - classifier->learn_func (ctx, task->worker->srv->statfile_pool, statfile, tokens, TRUE, NULL); + classifier->learn_func (ctx, task->worker->srv->statfile_pool, statfile, tokens, TRUE, NULL, 1.); maybe_write_binlog (ctx->cfg, st, statfile, tokens); } } |