print_stats
David Relson
relson at osagesoftware.com
Tue Oct 8 17:21:04 CEST 2002
Below are a couple of variations on formatting for the output of
print_stats(). They all display the word and its spamicity. They differ
in some small details:
prefix: tab vs '#'
index (0-14) in the extrema array
and a big detail:
inclusion of spamicity calculation - shows the derivation of the message's
spamicity
The info is included in the message if both "-p" and "-v" are
specified. Let me know your preferences and I'll adjust the code
appropriately.
David
X-Bogosity: No, tests=bogofilter, spamicity=0.002397, version=0.7.4
0.021158 0.000373 userid
0.025264 0.000010 fbi
0.033207 0.000000 update
0.035538 0.000000 oct
0.038625 0.000000 feature
0.042200 0.000000 security
0.044395 0.000000 things
0.047087 0.000000 knows
0.951684 0.000000 ff0000
0.962297 0.000000 lauderdale
0.990000 0.000000 1.877.678.2536
0.990000 0.000000 ial
0.990000 0.000024 opm
0.990000 0.002397 reoccurring
X-Bogosity: No, tests=bogofilter, spamicity=0.002397, version=0.7.4
# 0 0.016972 file
# 1 0.021158 userid
# 2 0.025264 fbi
# 3 0.033207 update
# 4 0.035538 oct
# 5 0.038625 feature
# 6 0.042200 security
# 7 0.044395 things
# 8 0.047087 knows
# 9 0.951684 ff0000
# 10 0.962297 lauderdale
# 11 0.990000 1.877.678.2536
# 12 0.990000 ial
# 13 0.990000 opm
# 14 0.990000 reoccurring
For summay digest subscription: bogofilter-digest-subscribe at aotto.com
More information about the Bogofilter
mailing list