Constructor SnowballFilter
SnowballFilter(TokenStream, SnowballProgram)
Declaration
public SnowballFilter(TokenStream input, SnowballProgram stemmer)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | input | |
SnowballProgram | 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 EnglishStemmer is named "English".
Declaration
public SnowballFilter(TokenStream in, string name)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | in | the input tokens to stem |
System.String | name | the name of a stemmer |