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
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 EnglishPossessiveFilter : TokenFilter, IDisposable
Constructors
| Improve this Doc View SourceEnglishPossessiveFilter(TokenStream)
Declaration
[Obsolete("Use <see cref=\"#EnglishPossessiveFilter(org.apache.lucene.util.Version, org.apache.lucene.analysis.TokenStream)\"/> instead.")]
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
System.IDisposable