I have just succeeded in integrating Pegasus Mail with SpamBayes.

...

Now in FAQ, 1.5.7. 

http://spambayes.sourceforge.net/faq.html#is-there-a-high-level-summary-that-shows-how-
spambayes-works

I found this interesting paragraph ..

> The filter script. This does three jobs: command-line training, procmail
> filtering, and XML-RPC. See below for details of how to use sb_filter for
> training, and how to use it as procmail filter. SpamBayes can also run as
> an XML-RPC server, so that a programmer can write code that uses a remote
> server to classify emails programmatically - see sb_xmlrpcsrv.py.

_________________________________________________________

My question .. how can I access SpamBayes through an XML-RPC API so that I can 
send 
text streams (not email messages) to be classified / trained through this API ? 
 

i.e. adapting SpamBayes server for uses other than spam classification?

I have in mind classifying general text documents.

What classification data can be returned?  Clues, tokens?

Any examples of programs or scripts accessing SpamBayes XML-RPC API?

DL
_______________________________________________
[email protected]
http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html

Reply via email to