Constructor StemmerOverrideFilter
StemmerOverrideFilter(TokenStream, StemmerOverrideFilter.StemmerOverrideMap)
Create a new StemmerOverrideFilter, performing dictionary-based stemming
with the provided dictionary (stemmerOverrideMap
).
Any dictionary-stemmed terms will be marked with KeywordAttribute so that they will not be stemmed with stemmers down the chain.
Declaration
public StemmerOverrideFilter(TokenStream input, StemmerOverrideFilter.StemmerOverrideMap stemmerOverrideMap)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | input | |
StemmerOverrideFilter.StemmerOverrideMap | stemmerOverrideMap |