diff options
author | hubertf <hubertf@pkgsrc.org> | 2004-02-03 20:49:34 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2004-02-03 20:49:34 +0000 |
commit | fda3ac2657d6a24af5dcb637263f261c1af2b819 (patch) | |
tree | fcbe1821c306f88ea46ef6634c971dc5477afcf9 /net | |
parent | 5a6dccc212c2446a1813bc5b3c97d787bf17c6d8 (diff) | |
download | pkgsrc-fda3ac2657d6a24af5dcb637263f261c1af2b819.tar.gz |
Update spamprobe to 0.9h. ChangeLog:
* New manual page
* spamprobe.cc (process_stream): Added -o tokenized option
to allow people to use an external tokenizer with spamprobe.
* SpamFilter.cc (scoreToken): Reduced sorting overhead by
pre-computing and integer sort value with sorting priorities
reflected in the value. This eliminates several calculations
inside of the sort routine.
* SpamFilter.cc (computeRatio): Capped ratios in calculations to
within MIN_PROB and MAX_PROB. Widened that range. This avoids
problems with div/0 and makes it easier to sort terms.
* spamprobe.cc (dump_words): dump command can now optionally
accept a regular expression as an argument and will only dump
terms matching the regular expression.
(purge_terms): Added purge-terms command to purge from the
database all terms matching a regular expression.
Patch submitted by Ossi Herrala <PGP: 0x78CD0337> in private email.
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions