Update of /cvsroot/popfile/engine/Classifier
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16672/Classifier
Modified Files:
Tag: b0_22_2
Bayes.pm
Log Message:
Fix to pass TestBayesScript test.
Index: Bayes.pm
===================================================================
RCS file: /cvsroot/popfile/engine/Classifier/Bayes.pm,v
retrieving revision 1.327.4.9
retrieving revision 1.327.4.10
diff -C2 -d -r1.327.4.9 -r1.327.4.10
*** Bayes.pm 6 Sep 2007 16:31:41 -0000 1.327.4.9
--- Bayes.pm 24 Nov 2007 16:37:48 -0000 1.327.4.10
***************
*** 341,345 ****
# Pass in the current interface language for language specific parsing
! $self->{parser__}->{lang__} = $self->module_config_( 'html', 'language' );
$self->{unclassified__} = log( $self->config_( 'unclassified_weight' ) );
--- 341,345 ----
# Pass in the current interface language for language specific parsing
! $self->{parser__}->{lang__} = $self->module_config_( 'html', 'language' ) || '';
$self->{unclassified__} = log( $self->config_( 'unclassified_weight' ) );
|