C# Class Lucene.Net.Analysis.Stempel.StempelFilter

Transforms the token stream as per the stemming algorithm.

Note: the input to the stemming filter must already be in lower case, so you will need to use Analysis.Core.LowerCaseFilter or Analysis.Core.LowerCaseTokenizer farther down the Tokenizer chain in order for this to work properly!

Inheritance: TokenFilter
Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Méthodes publiques

Свойство Type Description
DEFAULT_MIN_LENGTH int

Méthodes publiques

Méthode Description
IncrementToken ( ) : bool

Returns the next input Token, after being stemmed

StempelFilter ( TokenStream @in, StempelStemmer stemmer ) : Lucene.Net.Analysis.Tokenattributes

Create filter using the supplied stemming table.

StempelFilter ( TokenStream @in, StempelStemmer stemmer, int minLength ) : Lucene.Net.Analysis.Tokenattributes

Create filter using the supplied stemming table.

Method Details

IncrementToken() public méthode

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

StempelFilter() public méthode

Create filter using the supplied stemming table.
public StempelFilter ( TokenStream @in, StempelStemmer stemmer ) : Lucene.Net.Analysis.Tokenattributes
@in TokenStream
stemmer StempelStemmer stemmer
Résultat Lucene.Net.Analysis.Tokenattributes

StempelFilter() public méthode

Create filter using the supplied stemming table.
public StempelFilter ( TokenStream @in, StempelStemmer stemmer, int minLength ) : Lucene.Net.Analysis.Tokenattributes
@in TokenStream
stemmer StempelStemmer stemmer
minLength int For performance reasons words shorter than minLength /// characters are not processed, but simply returned.
Résultat Lucene.Net.Analysis.Tokenattributes

Property Details

DEFAULT_MIN_LENGTH public_oe static_oe property

Minimum length of input words to be processed. Shorter words are returned unchanged.
public static int DEFAULT_MIN_LENGTH
Résultat int