[Spambayes-checkins] spambayes classifier.py,1.53.2.5,1.53.2.6

Tim Stone timstone4@users.sourceforge.net
Fri Nov 22 00:12:37 2002


Update of /cvsroot/spambayes/spambayes
In directory sc8-pr-cvs1:/tmp/cvs-serv19621

Modified Files:
      Tag: hammie-playground
	classifier.py 
Log Message:
Changed name of Bayes class to Classifier, aliased Classifier as Bayes
so stuff wouldn't break.

Index: classifier.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/classifier.py,v
retrieving revision 1.53.2.5
retrieving revision 1.53.2.6
diff -C2 -d -r1.53.2.5 -r1.53.2.6
*** classifier.py	21 Nov 2002 22:59:55 -0000	1.53.2.5
--- classifier.py	22 Nov 2002 00:12:35 -0000	1.53.2.6
***************
*** 195,199 ****
  
  
! class Bayes:
      # Defining __slots__ here made Jeremy's life needlessly difficult when
      # trying to hook this all up to ZODB as a persistent object.  There's
--- 195,199 ----
  
  
! class Classifier:
      # Defining __slots__ here made Jeremy's life needlessly difficult when
      # trying to hook this all up to ZODB as a persistent object.  There's
***************
*** 534,535 ****
--- 534,537 ----
          # Return (prob, word, record).
          return [t[1:] for t in clues]
+ 
+ Bayes = Classifier
\ No newline at end of file





More information about the Spambayes-checkins mailing list