[Spambayes] Is this the right way to untrain a group of messages?
Tim Stone - Four Stones Expressions
tim at fourstonesExpressions.com
Sat Dec 7 20:13:26 EST 2002
12/7/2002 2:12:18 PM, Skip Montanaro <skip@pobox.com> wrote:
>
>I just realized I fed the wrong mbox file to hammie. After poking around a
>bit I came up with this untrain sequence:
>
> mbox = mboxutils.getmbox("/Users/skip/tmp/newham")
> h = hammie.open("hammie.db", mode='w')
> for msg in mbox:
> h.untrain_ham(msg)
> h.store()
>
>It seemed to work, but is that the right way to untrain an mbox file?
It is if you originally trained as ham... - TimS
>
>Skip
>
>_______________________________________________
>Spambayes mailing list
>Spambayes@python.org
>http://mail.python.org/mailman/listinfo/spambayes
>
>
c'est moi - TimS
www.fourstonesExpressions.com
More information about the Spambayes
mailing list