Save This Page
Home » lucene-2.3.2-src » org.apache » lucene » analysis » nl » [javadoc | source]
org.apache.lucene.analysis.nl
public final class: DutchStemFilter [javadoc | source]
java.lang.Object
   org.apache.lucene.analysis.TokenStream
      org.apache.lucene.analysis.TokenFilter
         org.apache.lucene.analysis.nl.DutchStemFilter
A filter 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:
input
Constructor:
 public DutchStemFilter(TokenStream _in) 
 public DutchStemFilter(TokenStream _in,
    Set exclusiontable) 
    Builds a DutchStemFilter that uses an exclusiontable.
 public DutchStemFilter(TokenStream _in,
    Set exclusiontable,
    Map stemdictionary) 
    Parameters:
    stemdictionary - Dictionary of word stem pairs, that overrule the algorithm
Method from org.apache.lucene.analysis.nl.DutchStemFilter Summary:
next,   setExclusionTable,   setStemDictionary,   setStemmer
Methods from org.apache.lucene.analysis.TokenFilter:
close
Methods from org.apache.lucene.analysis.TokenStream:
close,   next,   next,   reset
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.analysis.nl.DutchStemFilter Detail:
 public Token next() throws IOException 
 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) 
    Set a alternative/custom DutchStemmer for this filter.