bogotune-0.2.7

Boris 'pi' Piwinger 3.14 at logic.univie.ac.at
Thu Jun 26 14:42:37 CEST 2003


Greg Louis wrote:

> Version 0.2.7 of bogotune, a perl script to find optimum parameters for
> bogofilter, is now available as
>   http://www.bgl/nu/bogofilter/bogotune-0.2.7.tgz

Somme errors in the script:

Line 109 can be simplified:
    ($scount, $ncount) = (split /\s+/, $counts)[1,2];
This removes a bogus variable.

Line 294 should read:
    my $i; my $ndots = POSIX::ceil(70 * $cur / $top);

Line 361 has $errr, I guess it should be $err.

Subroutine log10 redefined at bogotune line 309. Not really
a problem, but you know.

Patch fixing those attached.

pi
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bogotune.diff
URL: <http://www.bogofilter.org/pipermail/bogofilter/attachments/20030626/b78a9341/attachment.ksh>


More information about the Bogofilter mailing list