add a basic wpxloc.dat translator
[spider.git] / perl / BadWords.pm
index 3d7404387664d34ffe7e44cda5d7380a31f2ccd2..05a41bcc01aa15f1740e9a6545ace2e65d172156 100644 (file)
@@ -3,7 +3,7 @@
 #
 # Copyright (c) 2000 Dirk Koopman
 #
-# $Id$
+#
 #
 
 package BadWords;
@@ -29,12 +29,6 @@ filecopy("$bwfn.issue", $bwfn) unless -e $bwfn;
 
 $badword = new DXHash "badword";
 
-use vars qw($VERSION $BRANCH);
-$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
-$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/  || (0,0));
-$main::build += $VERSION;
-$main::branch += $BRANCH;
-
 # load the badwords file
 sub load
 {
@@ -107,7 +101,6 @@ sub check
        return @out if @out;
        
        for (split(/\b/, $s)) {
-               s/\'?S$//;
                push @out, $_ if $badword->in($_);
        }