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,v 1.8 2004/03/30 15:54:48 otis Exp $
GermanStemFilter
public GermanStemFilter(TokenStream in)
Construct a token stream filtering the given input.
GermanStemFilter
public GermanStemFilter(TokenStream in,
Hashtable exclusiontable)
Use GermanStemFilter(org.apache.lucene.analysis.TokenStream, java.util.Set)
instead.
Builds a GermanStemFilter that uses an exclusiontable.
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.
setExclusionTable
public void setExclusionTable(Hashtable exclusiontable)
Use setExclusionSet(java.util.Set)
instead.
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.