Terse mode [was: tri-state classification]

David Relson relson at osagesoftware.com
Thu Oct 28 12:49:54 CEST 2004


On Thu, 28 Oct 2004 11:50:27 +0200
Matthias Andree wrote:

> David Relson <relson at osagesoftware.com> writes:
> 
> >> Are you going to change the terse output (bogofilter -t) or leave
> >it> as it is now (Y/N/U)?
> >
> > The terse output uses the first character of the spamicity_tags, so
> > the output will change from Y/N/U to S/H/U.
> 
> We have an "invariant terse mode" for use in scripts, bogofilter -T.

I was mistaken when I said it would change.  It's already using S/H/U
tags, which I had forgotten.  My apologies ...

In the examples below, '-C' and '-H' are present so that default
parameters are used and header tagging is disabled; and
'--spam_cutoff=0.51" is used so that the 0.52 score is spammish

[relson at osage /]$ bogofilter -V
bogofilter version 0.92.8
    Database: BerkeleyDB (4.2.52)
Copyright (C) 2002-2004 Eric S. Raymond,
David Relson, Matthias Andree, Greg Louis

[relson at osage /]$ echo hello david | bogofilter -C -H -T
H 0.101799
[relson at osage /]$ echo viagra porn sex | bogofilter -C -H -T
--spam_cutoff=0.51
S 0.52

[relson at osage /]$ echo hello david | bogofilter -C -H -TT
0.1017991439161618
[relson at osage /]$ echo viagra porn sex | bogofilter -C -H -TT
--spam_cutoff=0.51
0.5200000000000000



More information about the Bogofilter mailing list