Class DutchStemFilter
A Lucene.Net.Analysis.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 Lucene.Net.Analysis.TokenFilter that sets the KeywordAttribute before this Lucene.Net.Analysis.TokenStream.
Inheritance
Implements
Inherited Members
Namespace: Lucene.Net.Analysis.Nl
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")]
public sealed class DutchStemFilter : TokenFilter, IDisposable
Constructors
| Improve this Doc View SourceDutchStemFilter(TokenStream)
Declaration
public DutchStemFilter(TokenStream in)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Analysis.TokenStream | in | Input Lucene.Net.Analysis.TokenStream |
DutchStemFilter(TokenStream, IDictionary<String, String>)
Declaration
public DutchStemFilter(TokenStream in, IDictionary<string, string> stemdictionary)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Analysis.TokenStream | in | Input Lucene.Net.Analysis.TokenStream |
System.Collections.Generic.IDictionary<System.String, System.String> | stemdictionary | Dictionary of word stem pairs, that overrule the algorithm |
Properties
| Improve this Doc View SourceStemDictionary
Set dictionary for stemming, this dictionary overrules the algorithm, so you can correct for a particular unwanted word-stem pair.
Declaration
public CharArrayMap<string> StemDictionary { get; set; }
Property Value
Type | Description |
---|---|
CharArrayMap<System.String> |
Stemmer
Set a alternative/custom DutchStemmer for this filter.
Declaration
public DutchStemmer Stemmer { get; set; }
Property Value
Type | Description |
---|---|
DutchStemmer |
Methods
| Improve this Doc View SourceIncrementToken()
Returns the next token in the stream, or null at EOS
Declaration
public override bool IncrementToken()
Returns
Type | Description |
---|---|
System.Boolean |