Tony Bowden > Plucene-1.25 > Plucene::Analysis::StopFilter

Download:
Plucene-1.25.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  12
Open  5
View/Report Bugs
Source  

NAME ^

Plucene::Analysis::StopFilter - the stop filter

SYNOPSIS ^

        # isa Plucene::Analysis::TokenFilter

        my $next = $stop_filter->next;

DESCRIPTION ^

This removes stop words from a token stream.

Instances of the StopFilter class are tokens filters that removes from the indexed text words of your choice. Typically this is used to filter out common words ('the', 'a' 'if' etc) that increase the overhead but add no value during searches.

METHODS ^

next

        my $next = $stop_filter->next;

This returns the next input token whose term is not a stop word.

syntax highlighting: