Class KStemFilter
A high-performance kstem filter for english.
See "Viewing Morphology as an Inference Process" (Krovetz, R., Proceedings of the Sixteenth Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, 191-203, 1993).
All terms must already be lowercased for this filter to work correctly.
Note: This filter is aware of the KeywordAttribute. To prevent certain terms from being passed to the stemmer IsKeyword should be set to
true
in a previous TokenStream.
Note: For including the original term as well as the stemmed version, see
KeywordRepeatFilterFactory
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.En
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public sealed class KStemFilter : TokenFilter, IDisposable
Constructors
| Improve this Doc View SourceKStemFilter(TokenStream)
Declaration
public KStemFilter(TokenStream in)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | in |
Methods
| Improve this Doc View SourceIncrementToken()
Returns the next, stemmed, input Token.
Declaration
public override bool IncrementToken()
Returns
Type | Description |
---|---|
System.Boolean | The stemmed form of a token. |
Overrides
Exceptions
Type | Condition |
---|---|
System.IO.IOException | If there is a low-level I/O error. |
Implements
System.IDisposable