Save This Page
Home » lucene-2.3.2-src » org.apache » lucene » analysis » de » [javadoc | source]
org.apache.lucene.analysis.de
public class: GermanAnalyzer [javadoc | source]
java.lang.Object
   org.apache.lucene.analysis.Analyzer
      org.apache.lucene.analysis.de.GermanAnalyzer
Analyzer for German language. Supports an external list of stopwords (words that will not be indexed at all) and an external list of exclusions (word that will not be stemmed, but indexed). A default set of stopwords is used unless an alternative list is specified, the exclusion list is empty by default.
Field Summary
public static final  String[] GERMAN_STOP_WORDS    List of typical german stopwords. 
Constructor:
 public GermanAnalyzer() 
 public GermanAnalyzer(String[] stopwords) 
    Builds an analyzer with the given stop words.
 public GermanAnalyzer(Hashtable stopwords) 
    Builds an analyzer with the given stop words.
 public GermanAnalyzer(File stopwords) throws IOException 
    Builds an analyzer with the given stop words.
Method from org.apache.lucene.analysis.de.GermanAnalyzer Summary:
setStemExclusionTable,   setStemExclusionTable,   setStemExclusionTable,   tokenStream
Methods from org.apache.lucene.analysis.Analyzer:
getPositionIncrementGap,   getPreviousTokenStream,   reusableTokenStream,   setPreviousTokenStream,   tokenStream
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.analysis.de.GermanAnalyzer Detail:
 public  void setStemExclusionTable(String[] exclusionlist) 
    Builds an exclusionlist from an array of Strings.
 public  void setStemExclusionTable(Hashtable exclusionlist) 
    Builds an exclusionlist from a Hashtable.
 public  void setStemExclusionTable(File exclusionlist) throws IOException 
    Builds an exclusionlist from the words contained in the given file.
 public TokenStream tokenStream(String fieldName,
    Reader reader) 
    Creates a TokenStream which tokenizes all the text in the provided Reader.