NAME
HTML::Index::Filter - utility module for filtering words for indexing / searching using the HTML::Index modules.
SYNOPSIS
my $filter = HTML::Index::Filter->new();
my @w = $filter->filter( @w );
my $w = $filter->filter( $w );
DESCRIPTION
Very simple utility module to provide a symetric filter for indexing and searching words using the HTML::Index modules. Basically:
- converts to lc
- deletes all non-alphanumeric
- deletes empty strings
- checks that the work is at least two characters long
- and that there is at least one letter
SEE ALSO
AUTHOR
Ave Wrigley <Ave.Wrigley@itn.co.uk>
COPYRIGHT
Copyright (c) 2001 Ave Wrigley. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.