[Spambayes] Guidance re pickles versus DB for Outlook
Tim Stone - Four Stones Expressions
tim@fourstonesExpressions.com
Tue Nov 26 17:02:36 2002
Update probabilities is no longer necessary, as WordInfo now calculates
probabilities on demand. Simply remove the call... - TimS
11/26/2002 10:58:06 AM, Jeremy Hylton <jeremy@alum.mit.edu> wrote:
>I just did a cvs update in spambayes and tried to restart my pspam
>code, but nothing is working anymore :-(. I'm sorry I haven't had
>time to read every message on the proposed changes, but there's been a
>flurry of activity and I've got a day job.
>
>Anyway, here's a traceback. Can anyone suggest quickly how I would
>fix this? The pspam code calls learn() for a bunch of messages and
>then calls update_probabilities() at the end. Is that the default
>now? Or is that a discontinued feature? Are the APIs documented anywhere?
>
>Traceback (most recent call last):
> File "update.py", line 61, in ?
> main(FORCE_REBUILD)
> File "update.py", line 49, in main
> profile.update()
> File "/home/jeremy/src/spambayes/pspam/pspam/profile.py", line 88, in
update
> changed1 = self._update(self.hams, False)
> File "/home/jeremy/src/spambayes/pspam/pspam/profile.py", line 113, in
_update
> self.classifier.learn(tokenize(msg), is_spam, False)
>TypeError: learn() takes exactly 3 arguments (4 given)
>
>Jeremy
>
>
>_______________________________________________
>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