Class FrenchStemFilter
A TokenFilter that stems french words.
The used stemmer can be changed at runtime after the filter object is created (as long as it is a FrenchStemmer).
To prevent terms from being stemmed use an instance of KeywordMarkerFilter or a custom TokenFilter that sets the KeywordAttribute before this TokenStream.
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.Fr
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Obsolete("(3.1) Use SnowballFilter with FrenchStemmer instead, which has the same functionality. This filter will be removed in Lucene 5.0")]
public sealed class FrenchStemFilter : TokenFilter, IDisposable
Constructors
| Improve this Doc View SourceFrenchStemFilter(TokenStream)
Declaration
public FrenchStemFilter(TokenStream in)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | in |
Properties
| Improve this Doc View SourceStemmer
Set a alternative/custom FrenchStemmer for this filter.
Declaration
public FrenchStemmer Stemmer { get; set; }
Property Value
Type | Description |
---|---|
FrenchStemmer |
Methods
| Improve this Doc View SourceIncrementToken()
Declaration
public override bool IncrementToken()
Returns
Type | Description |
---|---|
System.Boolean | Returns true for the next token in the stream, or false at EOS |
Overrides
Implements
System.IDisposable