Update of /cvsroot/popfile/engine/Classifier
In directory sc8-pr-cvs1:/tmp/cvs-serv27993
Modified Files:
Bayes.pm
Log Message:
clear {words__} when returning a colorized message
Index: Bayes.pm
===================================================================
RCS file: /cvsroot/popfile/engine/Classifier/Bayes.pm,v
retrieving revision 1.126
retrieving revision 1.127
diff -C2 -d -r1.126 -r1.127
*** Bayes.pm 16 Apr 2003 23:20:12 -0000 1.126
--- Bayes.pm 16 Apr 2003 23:52:28 -0000 1.127
***************
*** 1120,1123 ****
--- 1120,1124 ----
my $result = $self->{parser__}->parse_stream($file);
$self->{parser__}->{color__} = 0;
+ $self->{parser__}->{words__} = {};
return $result;
|