skip montanaro dwooqfuuguserssourceforgenet update cvsrootspambayesspambayesspambayes directory sc8prcvs8sourceforgenettmpcvsserv16690 modified files tag coresvr xmlrpcpluginpy log message cache messages make xmlrpc thread daemon convert msg text utf8 string unicode index xmlrpcpluginpy rcs file cvsrootspambayesspambayesspambayesatticxmlrpcpluginpyv retrieving revision 1126 retrieving revision 1127 diff c2 r1126 r1127 xmlrpcpluginpy 5 jun 2007 024341 0000 1126 xmlrpcpluginpy 6 jun 2007 033737 0000 1127 4649 4650 spambayesoptions import _ options spambayestokenizer import tokenize import spambayesmessage class xmlrpcuipluginui 6669 6771 selfserverregister_instanceself selfthread threadingthreadtargetselfserverserve_forever selfthreadsetdaemontrue selfthreadstart 7997 return selfscore_mimemime_message def score_mimeself msg encoding score message representing mime document msg argument string given encoding tokens selftokenizemsg encoding return selfstatebayesspamprobtokens evidencetrue def tokenizeself msg encoding tokenize message make sure bayes instance available selfstatebayes none selfstatecreate_workers msg unicodemsg encoding msg message_from_stringmsg return tokenizemsg def form_to_mimeform mime_type extra_tokens 81114 return selfscore_mimemime_message def score_mimeself msg_text encoding score message representing mime document msg argument string given encoding xxx much probably belongs core server selfstatebayes none selfstatecreate_workers isinstancemsg_text unicode msg_text msg_textencodeutf8 msg message_from_stringmsg_text _classspambayesmessagesbheadermessage tokens tokenizemsg xxx maybe prob selfstatebayesspamprobtokens evidencefalse selfstaterecord_classificationmsggetclassification prob cache message selfstateis_test optionsstorage cache_messages msgsetidselfstategetnewmessagename write message unknown cache makemessage selfstateunknowncorpusmakemessage message makemessagemsggetid msgas_string selfstateunknowncorpusaddmessagemessage return prob def form_to_mimeform mime_type extra_tokens _______________________________________________ spambayescheckins mailing list pnperxdpvsarswdlppythonorg httpmailpythonorgmailmanlistinfospambayescheckins tue 05 aug 2008 173018 0700 spambayescheckins spambayesspambayes xmlrpcpluginpy 1126 1127