debian man page for plucene::analysis::porterstemfilter

Query: plucene::analysis::porterstemfilter

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Plucene::Analysis::PorterStemFilter(3pm)		User Contributed Perl Documentation		  Plucene::Analysis::PorterStemFilter(3pm)

NAME
Plucene::Analysis::PorterStemFilter - Porter stemming on the token stream
SYNOPSIS
# isa Plucene::Analysis:::TokenFilter my $token = $porter_stem_filter->next;
DESCRIPTION
This class transforms the token stream as per the Porter stemming algorithm. Note: the input to the stemming filter must already be in lower case, so you will need to use LowerCaseFilter or LowerCaseTokenizer farther down the Tokenizer chain in order for this to work properly! The Porter Stemmer implements Porter Algorithm for normalization of English words by stripping their extensions and is used to generalize the searches. For example, the Porter algorithm maps both 'search' and 'searching' (as well as 'searchnessing') to 'search' such that a query for 'search' will also match documents that contains the word 'searching'. Note that the Porter algorithm is specific to the English language and may give unpredictable results for other languages. Also, make sure to use the same analyzer during the indexing and the searching. You can find more information on the Porter algorithm at www.tartarus.org/~martin/PorterStemmer. A nice online demonstration of the Porter algorithm is available at www.scs.carleton.ca/~dquesnel/java/stuff/PorterApplet.html.
METHODS
next my $token = $porter_stem_filter->next; Returns the next input token, after being stemmed. perl v5.12.4 2011-08-14 Plucene::Analysis::PorterStemFilter(3pm)
Related Man Pages
lingua::stem::en(3pm) - debian
lingua::stem::enbroken(3pm) - debian
lingua::stem::fr(3pm) - debian
plucene::search::termquery(3pm) - debian
text::english(3pm) - debian
Similar Topics in the Unix Linux Community
fast searching algorithm
hash table implementations in C Language
On Time-Series Analysis with Strict Determinism
mu 0.3 (Default branch)
Finding my lost file by searching for words in it