C# Class Lucene.Net.Analysis.Miscellaneous.StemmerOverrideFilter

Provides the ability to override any KeywordAttribute aware stemmer with custom dictionary-based stemming.
Inheritance: TokenFilter
Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Méthodes publiques

Méthode Description
IncrementToken ( ) : bool
StemmerOverrideFilter ( TokenStream input, StemmerOverrideMap stemmerOverrideMap ) : System.Collections.Generic

Create a new StemmerOverrideFilter, performing dictionary-based stemming with the provided dictionary.

Any dictionary-stemmed terms will be marked with KeywordAttribute so that they will not be stemmed with stemmers down the chain.

Method Details

IncrementToken() public méthode

public IncrementToken ( ) : bool
Résultat bool

StemmerOverrideFilter() public méthode

Create a new StemmerOverrideFilter, performing dictionary-based stemming with the provided dictionary.

Any dictionary-stemmed terms will be marked with KeywordAttribute so that they will not be stemmed with stemmers down the chain.

public StemmerOverrideFilter ( TokenStream input, StemmerOverrideMap stemmerOverrideMap ) : System.Collections.Generic
input TokenStream
stemmerOverrideMap StemmerOverrideMap
Résultat System.Collections.Generic