explaining Bogofilter simply

Andreas Pardeike andreas at pardeike.net
Sun Jan 25 21:11:03 CET 2004


On 2004-01-25, at 19.05, David Relson wrote:

> That's how to get the score of a message line.  The "-H", for
> suppressing header tags, is crucial in this case.

But isn't the result below contrary to this statement?

> shell> echo "Buy Viagra for free" | bogofilter -H -vvv
> X-Bogosity: Yes, tests=bogofilter, spamicity=0.970665, version=0.16.0
>                                      n    pgood     pbad      fw     U
> "head:for"                         779  0.044110  0.042813  0.492547 -
> "head:Buy"                           0  0.000000  0.000000  0.677171 +
> "head:Viagra"                        0  0.000000  0.000000  0.677171 +
> "head:free"                          1  0.000000  0.000113  0.996804 +
> N_P_Q_S_s_x_md                       3  1.37e-02  9.55e-01  9.71e-01
>                                         1.00e-02  6.77e-01  0.100

> shell> echo "\r\n\r\nBuy Viagra for free" | bogofilter -H -vvv
> X-Bogosity: No, tests=bogofilter, spamicity=0.701919, version=0.16.0
>                                      n    pgood     pbad      fw     U
> "for"                             9457  0.719393  0.330351  0.314697 +
> "free"                            1017  0.071059  0.042016  0.371578 +
> "Viagra"                           586  0.011330  0.054700  0.828410 +
> "Buy"                              331  0.005940  0.031370  0.840791 +
> N_P_Q_S_s_x_md                       4  3.52e-01  7.56e-01  7.02e-01
>                                         1.00e-02  6.77e-01  0.100

???

Andreas Pardeike





More information about the Bogofilter mailing list