Class 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, but the exclusion list is empty by default.
You must specify the required LuceneVersion compatibility when creating GermanAnalyzer:
NOTE: This class uses the same LuceneVersion dependent settings as StandardAnalyzer.
Inherited Members
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Serializable]
public sealed class GermanAnalyzer : StopwordAnalyzerBase, IDisposable
Constructors
Name | Description |
---|---|
GermanAnalyzer(LuceneVersion) | Builds an analyzer with the default stop words: DefaultStopSet. |
GermanAnalyzer(LuceneVersion, CharArraySet) | Builds an analyzer with the given stop words |
GermanAnalyzer(LuceneVersion, CharArraySet, CharArraySet) | Builds an analyzer with the given stop words |
Fields
Name | Description |
---|---|
DEFAULT_STOPWORD_FILE | File containing default German stopwords. |
Properties
Name | Description |
---|---|
DefaultStopSet | Returns a set of default German-stopwords |
Methods
Name | Description |
---|---|
CreateComponents(String, TextReader) | Creates TokenStreamComponents used to tokenize all the text in the provided System.IO.TextReader. |