C# Class Lucene.Net.Analysis.Snowball.SnowballFilter

A filter that stems words using a Snowball-generated stemmer. Available stemmers are listed in {@link SF.Snowball.Ext}. The name of a stemmer is the part of the class name before "Stemmer", e.g., the stemmer in {@link EnglishStemmer} is named "English".
Inheritance: Lucene.Net.Analysis.TokenFilter
Show file Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
IncrementToken ( ) : bool

Returns the next input Token, after being stemmed

SnowballFilter ( TokenStream input, SnowballProgram stemmer ) : Lucene.Net.Analysis.Tokenattributes
SnowballFilter ( TokenStream @in, string name ) : Lucene.Net.Analysis.Tokenattributes

Construct the named stemming filter. Available stemmers are listed in org.tartarus.snowball.ext. The name of a stemmer is the part of the class name before "Stemmer", e.g., the stemmer in org.tartarus.snowball.ext.EnglishStemmer is named "English".

Method Details

IncrementToken() public method

Returns the next input Token, after being stemmed
public IncrementToken ( ) : bool
return bool

SnowballFilter() public method

public SnowballFilter ( TokenStream input, SnowballProgram stemmer ) : Lucene.Net.Analysis.Tokenattributes
input TokenStream
stemmer SnowballProgram
return Lucene.Net.Analysis.Tokenattributes

SnowballFilter() public method

Construct the named stemming filter. Available stemmers are listed in org.tartarus.snowball.ext. The name of a stemmer is the part of the class name before "Stemmer", e.g., the stemmer in org.tartarus.snowball.ext.EnglishStemmer is named "English".
public SnowballFilter ( TokenStream @in, string name ) : Lucene.Net.Analysis.Tokenattributes
@in TokenStream
name string the name of a stemmer
return Lucene.Net.Analysis.Tokenattributes