I have created RPMs and a python wrapper for the DSPAM project. The DSPAM
project was created by NetworkDweebs and provides a Bayesian spam
filtering Mail Delivery Agent. More importantly, it exports the core
engine as a C library. The core library is what is wrapped for Python. I
also took the liberty of creating a 'tokenize' entry point to the core
library allowing python code to use its own database structure.
Tokenizing is the only step that needs C speed.
There are no docs yet for the python wrapper, but good short examples in
python are included in the source. The python versions of some of the
DSPAM utilities, like dspam_corpus.py, are faster than their C counterpart
(26 vs. 33 secs)! (This is due to the python code not opening and closing
the database for each message.) The web page has an example of using
dspam in a Python milter.
Re: ANN: dspam-python-2.6.2-3
On Mon, 14 Jul 2003 16:48:07 -0400, Stuart D. Gathman wrote:
> I have created RPMs and a python wrapper for the DSPAM project.
Added separate configure patch for those that don't like Source RPMs.
Stuart D. Gathman <firstname.lastname@example.org>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
|All times are GMT. The time now is 05:13 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.