org.apache.lucene.analysis.nl
public final class DutchStemFilter extends TokenFilter
Constructor Summary | |
---|---|
DutchStemFilter(TokenStream _in) | |
DutchStemFilter(TokenStream _in, Set exclusiontable)
Builds a DutchStemFilter that uses an exclusiontable. | |
DutchStemFilter(TokenStream _in, Set exclusiontable, Map stemdictionary) |
Method Summary | |
---|---|
Token | next() |
void | setExclusionTable(HashSet exclusiontable)
Set an alternative exclusion list for this filter. |
void | setStemDictionary(HashMap dict)
Set dictionary for stemming, this dictionary overrules the algorithm,
so you can correct for a particular unwanted word-stem pair. |
void | setStemmer(DutchStemmer stemmer)
Set a alternative/custom DutchStemmer for this filter. |
Parameters: stemdictionary Dictionary of word stem pairs, that overrule the algorithm
Returns: Returns the next token in the stream, or null at EOS