Constructor StempelFilter
StempelFilter(TokenStream, StempelStemmer)
Create filter using the supplied stemming table.
Declaration
public StempelFilter(TokenStream in, StempelStemmer stemmer)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | in | input token stream |
StempelStemmer | stemmer | stemmer |
StempelFilter(TokenStream, StempelStemmer, Int32)
Create filter using the supplied stemming table.
Declaration
public StempelFilter(TokenStream in, StempelStemmer stemmer, int minLength)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | in | input token stream |
StempelStemmer | stemmer | stemmer |
System.Int32 | minLength | For performance reasons words shorter than minLength characters are not processed, but simply returned. |