diff --git a/sandbox/contributions/analyzers/src/java/org/apache/lucene/analysis/de/GermanAnalyzer.java b/sandbox/contributions/analyzers/src/java/org/apache/lucene/analysis/de/GermanAnalyzer.java index 5778e674e51..2369d08bcb9 100644 --- a/sandbox/contributions/analyzers/src/java/org/apache/lucene/analysis/de/GermanAnalyzer.java +++ b/sandbox/contributions/analyzers/src/java/org/apache/lucene/analysis/de/GermanAnalyzer.java @@ -42,10 +42,11 @@ import java.util.Set; * @version $Id$ */ public class GermanAnalyzer extends Analyzer { + /** * List of typical german stopwords. */ - private String[] GERMAN_STOP_WORDS = { + public final static String[] GERMAN_STOP_WORDS = { "einer", "eine", "eines", "einem", "einen", "der", "die", "das", "dass", "daß", "du", "er", "sie", "es", @@ -71,7 +72,8 @@ public class GermanAnalyzer extends Analyzer { private Set exclusionSet = new HashSet(); /** - * Builds an analyzer. + * Builds an analyzer with the default stop words + * (GERMAN_STOP_WORDS). */ public GermanAnalyzer() { stopSet = StopFilter.makeStopSet(GERMAN_STOP_WORDS);