Hello,

I have the following script that I run occasionally to train on ham and spam:


[EMAIL PROTECTED]:~$ cat spamtrain
#!/bin/sh
#
# MAKE SURE TO EXPUNGE/COMPACT the folders before running this
#
sb_mboxtrain.py -d $HOME/.hammiedb -g $HOME/Maildir/.ztrain.confirmed-ham
-s $HOME/Maildir/.ztrain.confirmed-spam


I get the following output:


[EMAIL PROTECTED]:~$ ./spamtrain
Training ham (/home/amedee/Maildir/.ztrain.confirmed-ham):
  Reading /home/amedee/Maildir/.ztrain.confirmed-ham/cur as Maildir
  Trained 1 out of 1 messages
Training spam (/home/amedee/Maildir/.ztrain.confirmed-spam):
  Reading /home/amedee/Maildir/.ztrain.confirmed-spam/cur as Maildir
  Trained 4 out of 6 messages


I'm confused about the "Trained 4 out of 6 messages". sb_mboxtrain.py
doesn't train on all messages? The folders are compacted, so that is not
the issue.
Coincidently, in the confirmed-spam there are 4 read messages and 2 unread
messages.


By the way, what's a fast way to see some ham/spam statistics like in the
Outlook plugin?

-- 
Amedee Van Gasse
[EMAIL PROTECTED]

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

Reply via email to