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
Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Returns the next input Token, after being stemmed
public IncrementToken ( ) : bool
Résultat bool

SnowballFilter() public méthode

public SnowballFilter ( TokenStream input, SnowballProgram stemmer ) : Lucene.Net.Analysis.Tokenattributes
input TokenStream
stemmer SnowballProgram
Résultat Lucene.Net.Analysis.Tokenattributes

SnowballFilter() public méthode

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
Résultat Lucene.Net.Analysis.Tokenattributes