Bug #2: If you pass a weight of 0 to a feature in the classifier, it ignores all features. It is now fixed (radev, December 16, 2003): Now a feature weight of 0 is considered properly. In default-classifier.pl, the following change was needed: % diff -c default-classifier.pl dc.pl ----------------------------------------------------------------------- *** default-classifier.pl Tue Dec 16 20:43:56 2003 --- dc.pl Tue Dec 16 20:43:48 2003 *************** *** 70,77 **** my $fname; my $weight; ! ! while ((defined($fname = shift @ARGV)) && (defined($weight = shift @ARGV))){ $fnames{$fname} = $weight; Debug("$fname : $weight",1,"ParseOpts"); } --- 70,77 ---- my $fname; my $weight; ! ! while (($fname = shift @ARGV) && ($weight = shift @ARGV)) { $fnames{$fname} = $weight; Debug("$fname : $weight",1,"ParseOpts"); } -----------------------------------------------------------------------