org.apache.lucene.analysis.de
Class GermanStemFilter
public final class GermanStemFilter
A filter that stems German 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 GermanStemmer).
$Id: GermanStemFilter.java 472959 2006-11-09 16:21:50Z yonik $
GermanStemFilter
public GermanStemFilter(TokenStream in)
GermanStemFilter
public GermanStemFilter(TokenStream in,
Set exclusionSet)
Builds a GermanStemFilter that uses an exclusiontable.
next
public final Token next()
throws IOException
- next in interface TokenStream
- Returns the next token in the stream, or null at EOS
setExclusionSet
public void setExclusionSet(Set exclusionSet)
Set an alternative exclusion list for this filter.
setStemmer
public void setStemmer(GermanStemmer stemmer)
Set a alternative/custom GermanStemmer for this filter.
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.