Hi there,

many thanks for your help !!! =)

i managed to get the thing working, and it gave me an unsure  
classification because there wasn't any training done. Am i right to  
say then, that in order to train, i'll just use the options found in  
the sb_filter.py script?

is it difficult to install the latest version of python - i looked at  
the python.org, and there's no installer, but just UNIX compile -  
version 2.4.2. is that what you are talking about in the previous maiL?

eventually, i need to combine this python script, get out the number  
of ham and spam tokens, and pass this to a matlab code which is  
converted into C++. i heard that it's actually possible to "embed" C+ 
+ into python - have you done it before?


Warmest Regards,
Christopher Isaiah Fun
~ Faith is believing in God when life tells you otherwise.


On 15 Jan 2006, at 12:03 PM, Tony Meyer wrote:

>> [...]
>> You do not have a dbm module available to use.  You need to either  
>> use a pickle (see the FAQ), use Python 2.3 (or above), or install  
>> a dbm module such as bsddb (see http://sf.net/projects/pybsddb).
>
> This is a result of this bug:
>
> [ 1106457 ] bsddb185 has to be covered in dbmstorage.py
> (fixed in CVS)
>
> I think; at least, when I try the various dbm modules here (OS X  
> 10.4.4) only bsddb185 works.
>
> The simplest way around this would be to simply use a pickle for  
> storage, rather than one of the dbm modules.
>
>     sb_filter.py -p ~/.hammie.pik message.mbox
>
> Alternatively, you could install Python 2.4 (the Mac package (at  
> least the one I used) includes bsddb), or the bsddb module, or ZODB  
> (ask if you'd like instructions for any of these).
>
> =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.
>
>


        
        
                
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com
_______________________________________________
[email protected]
http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html

Reply via email to