Class SnowballFilter
A filter that stems words using a Snowball-generated stemmer.
Available stemmers are listed in Lucene.Net.Tartarus.Snowball.Ext.
NOTE: Snowball
- For the Turkish language, see Turkish
Lower .Case Filter - For other languages, see Lower
Case .Filter
Note: This filter is aware of the Keywordtrue
in a previous Token
Implements
Inherited Members
Namespace: Lucene.Net.Analysis.Snowball
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public sealed class SnowballFilter : TokenFilter, IDisposable
Constructors
| Improve this Doc View SourceSnowballFilter(TokenStream, SnowballProgram)
Declaration
public SnowballFilter(TokenStream input, SnowballProgram stemmer)
Parameters
Type | Name | Description |
---|---|---|
Token |
input | |
Snowball |
stemmer |
SnowballFilter(TokenStream, String)
Construct the named stemming filter.
Available stemmers are listed in Lucene.Net.Tartarus.Snowball.Ext.
The name of a stemmer is the part of the class name before "Stemmer",
e.g., the stemmer in English
Declaration
public SnowballFilter(TokenStream in, string name)
Parameters
Type | Name | Description |
---|---|---|
Token |
in | the input tokens to stem |
System. |
name | the name of a stemmer |
Methods
| Improve this Doc View SourceIncrementToken()
Returns the next input Token, after being stemmed
Declaration
public override sealed bool IncrementToken()
Returns
Type | Description |
---|---|
System. |