C# Class Lucene.Net.Analysis.Hunspell.HunspellStemFilter

TokenFilter that uses hunspell affix rules and words to stem tokens. Since hunspell supports a word having multiple stems, this filter can emit multiple tokens for each consumed token.
Inheritance: TokenFilter
Mostrar archivo Open project: sisve/Lucene.Net.Analysis.Hunspell Class Usage Examples

Public Methods

Method Description
HunspellStemFilter ( TokenStream input, HunspellDictionary dictionary, System.Boolean dedup = true ) : System

Creates a new HunspellStemFilter that will stem tokens from the given TokenStream using affix rules in the provided HunspellDictionary.

IncrementToken ( ) : System.Boolean
Reset ( ) : void

Method Details

HunspellStemFilter() public method

Creates a new HunspellStemFilter that will stem tokens from the given TokenStream using affix rules in the provided HunspellDictionary.
public HunspellStemFilter ( TokenStream input, HunspellDictionary dictionary, System.Boolean dedup = true ) : System
input TokenStream TokenStream whose tokens will be stemmed.
dictionary HunspellDictionary HunspellDictionary containing the affix rules and words that will be used to stem the tokens.
dedup System.Boolean true if only unique terms should be output.
return System

IncrementToken() public method

public IncrementToken ( ) : System.Boolean
return System.Boolean

Reset() public method

public Reset ( ) : void
return void