C# Class Lucene.Net.Analysis.Pt.PortugueseAnalyzer

Mostra file Open project: apache/lucenenet Class Usage Examples

Public Methods

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

Creates a org.apache.lucene.analysis.Analyzer.TokenStreamComponents which tokenizes all the text in the provided Reader.

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

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

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

Builds an analyzer with the given stop words.

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

Builds an analyzer with the given stop words. If a non-empty stem exclusion set is provided this analyzer will add a SetKeywordMarkerFilter before stemming.

Method Details

CreateComponents() public method

Creates a org.apache.lucene.analysis.Analyzer.TokenStreamComponents which tokenizes all the text in the provided Reader.
public CreateComponents ( string fieldName, TextReader reader ) : TokenStreamComponents
fieldName string
reader TextReader
return TokenStreamComponents

PortugueseAnalyzer() public method

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

PortugueseAnalyzer() public method

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

PortugueseAnalyzer() public method

Builds an analyzer with the given stop words. If a non-empty stem exclusion set is provided this analyzer will add a SetKeywordMarkerFilter before stemming.
public PortugueseAnalyzer ( 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