Class DutchStemFilter
A TokenFilter that stems Dutch words.
It supports a table of words that should not be stemmed at all. The stemmer used can be changed at runtime after the filter object is created (as long as it is a DutchStemmer).
To prevent terms from being stemmed use an instance of KeywordMarkerFilter or a custom TokenFilter that sets the KeywordAttribute before this TokenStream.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Obsolete("(3.1) Use Snowball.SnowballFilter with Tartarus.Snowball.Ext.DutchStemmer instead, which has the same functionality. This filter will be removed in Lucene 5.0")]
[Serializable]
public sealed class DutchStemFilter : TokenFilter, IDisposable
Constructors
Name | Description |
---|---|
DutchStemFilter(TokenStream) | |
DutchStemFilter(TokenStream, IDictionary<String, String>) |
Properties
Name | Description |
---|---|
StemDictionary | Set dictionary for stemming, this dictionary overrules the algorithm, so you can correct for a particular unwanted word-stem pair. |
Stemmer | Set a alternative/custom DutchStemmer for this filter. |
Methods
Name | Description |
---|---|
IncrementToken() | Returns the next token in the stream, or null at EOS |