Class EnglishPossessiveFilter
TokenFilter that removes possessives (trailing 's) from words.
You must specify the required LuceneVersion compatibility when creating EnglishPossessiveFilter:
- As of 3.6, U+2019 RIGHT SINGLE QUOTATION MARK and U+FF07 FULLWIDTH APOSTROPHE are also treated as quotation marks.
Implements
IDisposable
Inherited Members
Namespace: Lucene.Net.Analysis.En
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public sealed class EnglishPossessiveFilter : TokenFilter, IDisposable
Constructors
| Improve this Doc View SourceEnglishPossessiveFilter(TokenStream)
Declaration
public EnglishPossessiveFilter(TokenStream input)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | input |
EnglishPossessiveFilter(LuceneVersion, TokenStream)
Declaration
public EnglishPossessiveFilter(LuceneVersion version, TokenStream input)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | version | |
TokenStream | input |
Methods
| Improve this Doc View SourceIncrementToken()
Declaration
public override bool IncrementToken()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
Implements
IDisposable