Constructor HunspellStemFilter
HunspellStemFilter(TokenStream, Dictionary)
Create a HunspellStemFilter outputting all possible stems.
Declaration
public HunspellStemFilter(TokenStream input, Dictionary dictionary)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | input | |
Dictionary | dictionary |
See Also
HunspellStemFilter(TokenStream, Dictionary, Boolean)
Create a HunspellStemFilter outputting all possible stems.
Declaration
public HunspellStemFilter(TokenStream input, Dictionary dictionary, bool dedup)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | input | |
Dictionary | dictionary | |
System.Boolean | dedup |
See Also
HunspellStemFilter(TokenStream, Dictionary, Boolean, Boolean)
Creates a new HunspellStemFilter that will stem tokens from the given TokenStream using affix rules in the provided Dictionary
Declaration
public HunspellStemFilter(TokenStream input, Dictionary dictionary, bool dedup, bool longestOnly)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | input | TokenStream whose tokens will be stemmed |
Dictionary | dictionary | Hunspell Dictionary containing the affix rules and words that will be used to stem the tokens |
System.Boolean | dedup | remove duplicates |
System.Boolean | longestOnly | true if only the longest term should be output. |