[Spambayes] How do I look in the database?

Tony Meyer tameyer at ihug.co.nz
Mon Jan 12 17:52:43 EST 2004


> My question is about the database. I'm curious and I'd like 
> to browse it, see what my most/least spam-indicating word is 
> and so on. Are there any programs for that included, or only 
> the word query on the web interface?

Apart from the word query on the web interface (note that you can turn on an
"Advanced" version of it, so that you can check more than one word at once),
there are also two scripts that you can use.

scripts/sb_expimp.py converts a (bsddb/pickle) database to/from flat, '`'
separated, text.  You can then use whatever you like to view it.

contrib/spamcounts.py (not in 1.0a7, you'll need cvs) does searches through
the database and prints out the results.

=Tony Meyer

---
Please always include the list (spambayes at python.org) in your replies
(reply-all), and please don't send me personal mail about SpamBayes. This
way, you get everyone's help, and avoid a lack of replies when I'm busy.




More information about the Spambayes mailing list