Class StemmerOverrideFilter
Provides the ability to override any KeywordAttribute aware stemmer with custom dictionary-based stemming.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Analysis.Miscellaneous
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public sealed class StemmerOverrideFilter : TokenFilter, IDisposable
Constructors
| Improve this Doc View SourceStemmerOverrideFilter(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 |
Methods
| Improve this Doc View SourceIncrementToken()
Declaration
public override bool IncrementToken()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
Implements
System.IDisposable