Home » lucene-3.0.1-src » org.apache » lucene » analysis » nl » [javadoc | source]
public final class: DutchStemFilter [javadoc | source]

All Implemented Interfaces:

A TokenFilter that stems Dutch words.

It supports a table of words that should not be stemmed at all. The stemmer used can be changed at runtime after the filter object is created (as long as it is a DutchStemmer ).

Fields inherited from org.apache.lucene.analysis.TokenFilter:
 public DutchStemFilter(TokenStream _in) 
 public DutchStemFilter(TokenStream _in,
    Set exclusiontable) 
    Builds a DutchStemFilter that uses an exclusion table.
 public DutchStemFilter(TokenStream _in,
    Set exclusiontable,
    Map stemdictionary) 
    stemdictionary - Dictionary of word stem pairs, that overrule the algorithm
Method from org.apache.lucene.analysis.nl.DutchStemFilter Summary:
incrementToken,   setExclusionTable,   setStemDictionary,   setStemmer
Methods from org.apache.lucene.analysis.TokenFilter:
close,   end,   reset
Methods from org.apache.lucene.analysis.TokenStream:
close,   end,   incrementToken,   reset
Methods from org.apache.lucene.util.AttributeSource:
addAttribute,   addAttributeImpl,   captureState,   clearAttributes,   cloneAttributes,   equals,   getAttribute,   getAttributeClassesIterator,   getAttributeFactory,   getAttributeImplsIterator,   hasAttribute,   hasAttributes,   hashCode,   restoreState,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.analysis.nl.DutchStemFilter Detail:
 public boolean incrementToken() throws IOException 
    Returns the next token in the stream, or null at EOS
 public  void setExclusionTable(HashSet exclusiontable) 
    Set an alternative exclusion list for this filter.
 public  void setStemDictionary(HashMap dict) 
    Set dictionary for stemming, this dictionary overrules the algorithm, so you can correct for a particular unwanted word-stem pair.
 public  void setStemmer(DutchStemmer stemmer)