C# 클래스 Lucene.Net.Analysis.El.GreekAnalyzer

Analyzer for the Greek language.

Supports an external list of stopwords (words that will not be indexed at all). A default set of stopwords is used unless an alternative list is specified.

You must specify the required Version compatibility when creating GreekAnalyzer:

  • As of 3.1, StandardFilter and GreekStemmer are used by default.
  • As of 2.9, StopFilter preserves position increments

NOTE: This class uses the same Version dependent settings as StandardAnalyzer.

파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

공개 메소드들

메소드 설명
CreateComponents ( string fieldName, TextReader reader ) : TokenStreamComponents

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

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

Builds an analyzer with the default stop words.

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

Builds an analyzer with the given stop words.

NOTE: The stopwords set should be pre-processed with the logic of GreekLowerCaseFilter for best results.

메소드 상세

CreateComponents() 공개 메소드

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
리턴 TokenStreamComponents

GreekAnalyzer() 공개 메소드

Builds an analyzer with the default stop words.
public GreekAnalyzer ( LuceneVersion matchVersion ) : Lucene.Net.Analysis.Core
matchVersion LuceneVersion Lucene compatibility version, /// See above
리턴 Lucene.Net.Analysis.Core

GreekAnalyzer() 공개 메소드

Builds an analyzer with the given stop words.

NOTE: The stopwords set should be pre-processed with the logic of GreekLowerCaseFilter for best results.

public GreekAnalyzer ( LuceneVersion matchVersion, CharArraySet stopwords ) : Lucene.Net.Analysis.Core
matchVersion LuceneVersion Lucene compatibility version, /// See above
stopwords CharArraySet a stopword set
리턴 Lucene.Net.Analysis.Core