From 9c08e8fe2c966c7eb61f09844cb9e7b4a41399d5 Mon Sep 17 00:00:00 2001 From: hubertf Date: Tue, 3 Feb 2004 20:49:34 +0000 Subject: 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 in private email. --- mail/spamprobe/distinfo | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'mail/spamprobe/distinfo') diff --git a/mail/spamprobe/distinfo b/mail/spamprobe/distinfo index d697129bdb2..f55be504145 100644 --- a/mail/spamprobe/distinfo +++ b/mail/spamprobe/distinfo @@ -1,5 +1,4 @@ -$NetBSD: distinfo,v 1.4 2004/01/20 23:47:23 hubertf Exp $ +$NetBSD: distinfo,v 1.5 2004/02/03 20:49:34 hubertf Exp $ -SHA1 (spamprobe-0.9g2.tar.gz) = 2e2c495d41b9f6560b420c1c577969ae0c160d8b -Size (spamprobe-0.9g2.tar.gz) = 154996 bytes -SHA1 (patch-aa) = eb8e7de9a55156911d69ecfd63cb640d80cf9053 +SHA1 (spamprobe-0.9h.tar.gz) = 34a4d5dc622570cc109a92f1a4b2222d4d3b08ff +Size (spamprobe-0.9h.tar.gz) = 161164 bytes -- cgit v1.2.3