> I would like to directly see the spambayes database; for > instance to see a listing of words; to pick out the most spammy as > well as the most hammy terms, > etc. Is there a way to do that?
Yes. If you install Python <http://python.org/download> and download the SpamBayes source, you can use sb_dbexpimp.py to convert the database to a CSV file (and then view it in Excel, or whatever you like). The command you'll want to run will be something like: C:\location\of\spambayes\source>scripts\sb_dbexpimp.py -f tokens.csv -e > Is there, for instance, an odbc driver available somewhere? Or is > it even possible to use a different database system? The possible storage options are: * A Python pickle. * Any of the Python dbm databases (e.g. BSDDB) * ZODB * ZEO * CDB * MySQL * postgresql =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. http://www.massey.ac.nz/~tameyer/writing/reply_all.html explains this. _______________________________________________ [email protected] http://mail.python.org/mailman/listinfo/spambayes Check the FAQ before asking: http://spambayes.sf.net/faq.html
