C# Class Lucene.Net.Analysis.Id.IndonesianAnalyzer

Analyzer for Indonesian (Bahasa)
Inheritance: Lucene.Net.Analysis.Util.StopwordAnalyzerBase
Datei anzeigen Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
CreateComponents ( string fieldName, TextReader reader ) : TokenStreamComponents

Creates org.apache.lucene.analysis.Analyzer.TokenStreamComponents used to tokenize all the text in the provided Reader.

IndonesianAnalyzer ( LuceneVersion matchVersion ) : Lucene.Net.Analysis.Core

Builds an analyzer with the default stop words: #DEFAULT_STOPWORD_FILE.

IndonesianAnalyzer ( LuceneVersion matchVersion, CharArraySet stopwords ) : Lucene.Net.Analysis.Core

Builds an analyzer with the given stop words

IndonesianAnalyzer ( LuceneVersion matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet ) : Lucene.Net.Analysis.Core

Builds an analyzer with the given stop word. If a none-empty stem exclusion set is provided this analyzer will add a SetKeywordMarkerFilter before IndonesianStemFilter.

Method Details

CreateComponents() public method

Creates org.apache.lucene.analysis.Analyzer.TokenStreamComponents used to tokenize all the text in the provided Reader.
public CreateComponents ( string fieldName, TextReader reader ) : TokenStreamComponents
fieldName string
reader System.IO.TextReader
return TokenStreamComponents

IndonesianAnalyzer() public method

Builds an analyzer with the default stop words: #DEFAULT_STOPWORD_FILE.
public IndonesianAnalyzer ( LuceneVersion matchVersion ) : Lucene.Net.Analysis.Core
matchVersion LuceneVersion
return Lucene.Net.Analysis.Core

IndonesianAnalyzer() public method

Builds an analyzer with the given stop words
public IndonesianAnalyzer ( LuceneVersion matchVersion, CharArraySet stopwords ) : Lucene.Net.Analysis.Core
matchVersion LuceneVersion /// lucene compatibility version
stopwords CharArraySet /// a stopword set
return Lucene.Net.Analysis.Core

IndonesianAnalyzer() public method

Builds an analyzer with the given stop word. If a none-empty stem exclusion set is provided this analyzer will add a SetKeywordMarkerFilter before IndonesianStemFilter.
public IndonesianAnalyzer ( LuceneVersion matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet ) : Lucene.Net.Analysis.Core
matchVersion LuceneVersion /// lucene compatibility version
stopwords CharArraySet /// a stopword set
stemExclusionSet CharArraySet /// a set of terms not to be stemmed
return Lucene.Net.Analysis.Core