Class DutchAnalyzer
Lucene.
Supports an external list of stopwords (words that will not be indexed at all), an external list of exclusions (word that will not be stemmed, but indexed) and an external list of word-stem pairs that overrule the algorithm (dictionary stemming). 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 Lucene.
- As of 3.6, Dutch
Analyzer(Lucene and DutchVersion, Char Array Set) Analyzer(Lucene also populate the default entries for the stem override dictionaryVersion, Char Array Set, Char Array Set) - As of 3.1, Snowball stemming is done with SnowballFilter, LowerCaseFilter is used prior to StopFilter, and Snowball stopwords are used by default.
- As of 2.9, StopFilter preserves position increments
NOTE: This class uses the same Lucene.
Inheritance
Implements
Inherited Members
Namespace: Lucene.Net.Analysis.Nl
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public sealed class DutchAnalyzer : Analyzer, IDisposable
Constructors
| Improve this Doc View SourceDutchAnalyzer(LuceneVersion)
Builds an analyzer with the default stop words (Default
Declaration
public DutchAnalyzer(LuceneVersion matchVersion)
Parameters
Type | Name | Description |
---|---|---|
Lucene. |
matchVersion |
DutchAnalyzer(LuceneVersion, CharArraySet)
Declaration
public DutchAnalyzer(LuceneVersion matchVersion, CharArraySet stopwords)
Parameters
Type | Name | Description |
---|---|---|
Lucene. |
matchVersion | |
Char |
stopwords |
DutchAnalyzer(LuceneVersion, CharArraySet, CharArraySet)
Declaration
public DutchAnalyzer(LuceneVersion matchVersion, CharArraySet stopwords, CharArraySet stemExclusionTable)
Parameters
Type | Name | Description |
---|---|---|
Lucene. |
matchVersion | |
Char |
stopwords | |
Char |
stemExclusionTable |
DutchAnalyzer(LuceneVersion, CharArraySet, CharArraySet, CharArrayMap<String>)
Declaration
public DutchAnalyzer(LuceneVersion matchVersion, CharArraySet stopwords, CharArraySet stemExclusionTable, CharArrayMap<string> stemOverrideDict)
Parameters
Type | Name | Description |
---|---|---|
Lucene. |
matchVersion | |
Char |
stopwords | |
Char |
stemExclusionTable | |
Char |
stemOverrideDict |
Fields
| Improve this Doc View SourceDEFAULT_STOPWORD_FILE
File containing default Dutch stopwords.
Declaration
public const string DEFAULT_STOPWORD_FILE = "dutch_stop.txt"
Field Value
Type | Description |
---|---|
System. |
Properties
| Improve this Doc View SourceDefaultStopSet
Returns an unmodifiable instance of the default stop-words set.
Declaration
public static CharArraySet DefaultStopSet { get; }
Property Value
Type | Description |
---|---|
Char |
an unmodifiable instance of the default stop-words set. |
Methods
| Improve this Doc View SourceCreateComponents(String, TextReader)
Returns a (possibly reused) Lucene.
Declaration
protected override TokenStreamComponents CreateComponents(string fieldName, TextReader aReader)
Parameters
Type | Name | Description |
---|---|---|
System. |
fieldName | |
System. |
aReader |
Returns
Type | Description |
---|---|
Lucene. |
A Lucene. |