|
From: <ssc...@us...> - 2003-04-27 01:11:04
|
Update of /cvsroot/popfile/engine/Classifier
In directory sc8-pr-cvs1:/tmp/cvs-serv25992
Modified Files:
Bayes.pm
Log Message:
localize a magnet string, fix new version checking, fix magnet highlighting for < and >
Index: Bayes.pm
===================================================================
RCS file: /cvsroot/popfile/engine/Classifier/Bayes.pm,v
retrieving revision 1.139
retrieving revision 1.140
diff -C2 -d -r1.139 -r1.140
*** Bayes.pm 27 Apr 2003 00:11:57 -0000 1.139
--- Bayes.pm 27 Apr 2003 01:11:00 -0000 1.140
***************
*** 541,545 ****
if ( $noattype =~ m/\Q$regex\E/i ) {
! $self->{scores__} = "<b>Magnet Used</b><p>Classified to <font color=\"$self->{colors__}{$bucket}\">$bucket</font> because of magnet $type: " . Classifier::MailParse::splitline($magnet,0) . "</p>";
$self->{magnet_used__} = 1;
$self->{magnet_detail__} = "$type: $magnet";
--- 541,545 ----
if ( $noattype =~ m/\Q$regex\E/i ) {
! $self->{scores__} = '';
$self->{magnet_used__} = 1;
$self->{magnet_detail__} = "$type: $magnet";
|