Update of /cvsroot/popfile/engine/Classifier
In directory sc8-pr-cvs1:/tmp/cvs-serv29270/Classifier
Modified Files:
Bayes.pm
Log Message:
Remove the CDB since I don't appear to need it for the access types that I have
Index: Bayes.pm
===================================================================
RCS file: /cvsroot/popfile/engine/Classifier/Bayes.pm,v
retrieving revision 1.192
retrieving revision 1.193
diff -C2 -d -r1.192 -r1.193
*** Bayes.pm 10 Sep 2003 04:06:19 -0000 1.192
--- Bayes.pm 10 Sep 2003 18:31:39 -0000 1.193
***************
*** 68,72 ****
# Matrix of buckets, words and the word counts
$self->{matrix__} = {};
- $self->{db_env__} = 0;
# Total number of words in all buckets
--- 68,71 ----
***************
*** 297,304 ****
delete $self->{matrix__}{$bucket};
}
-
- if ( defined( $self->{db_env__} ) ) {
- delete $self->{db_env__};
- }
}
--- 296,299 ----
***************
*** 472,476 ****
$self->close_database__();
- $self->{db_env__} = new BerkeleyDB::Env -Flags => DB_INIT_CDB;
$self->{magnets__} = {};
--- 467,470 ----
|