C# 클래스 Lucene.Net.Analysis.Compound.CompoundWordTokenFilterBase

Base class for decomposition token filters.

You must specify the required LuceneVersion compatibility when creating CompoundWordTokenFilterBase:

  • As of 3.1, CompoundWordTokenFilterBase correctly handles Unicode 4.0 supplementary characters in strings and char arrays provided as compound word dictionaries.
  • As of 4.4, CompoundWordTokenFilterBase doesn't update offsets.

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

보호된 프로퍼티들

프로퍼티 타입 설명
dictionary CharArraySet
matchVersion LuceneVersion
maxSubwordSize int
minSubwordSize int
minWordSize int
offsetAtt IOffsetAttribute
onlyLongestMatch bool
termAtt ICharTermAttribute
tokens LinkedList

공개 메소드들

메소드 설명
IncrementToken ( ) : bool
Reset ( ) : void

보호된 메소드들

메소드 설명
CompoundWordTokenFilterBase ( LuceneVersion matchVersion, TokenStream input, CharArraySet dictionary ) : Lucene.Net.Analysis.Tokenattributes
CompoundWordTokenFilterBase ( LuceneVersion matchVersion, TokenStream input, CharArraySet dictionary, bool onlyLongestMatch ) : Lucene.Net.Analysis.Tokenattributes
CompoundWordTokenFilterBase ( LuceneVersion matchVersion, TokenStream input, CharArraySet dictionary, int minWordSize, int minSubwordSize, int maxSubwordSize, bool onlyLongestMatch ) : Lucene.Net.Analysis.Tokenattributes
Decompose ( ) : void

Decomposes the current #termAtt and places CompoundToken instances in the #tokens list. The original token may not be placed in the list, as it is automatically passed through this filter.

메소드 상세

CompoundWordTokenFilterBase() 보호된 메소드

protected CompoundWordTokenFilterBase ( LuceneVersion matchVersion, TokenStream input, CharArraySet dictionary ) : Lucene.Net.Analysis.Tokenattributes
matchVersion LuceneVersion
input TokenStream
dictionary CharArraySet
리턴 Lucene.Net.Analysis.Tokenattributes

CompoundWordTokenFilterBase() 보호된 메소드

protected CompoundWordTokenFilterBase ( LuceneVersion matchVersion, TokenStream input, CharArraySet dictionary, bool onlyLongestMatch ) : Lucene.Net.Analysis.Tokenattributes
matchVersion LuceneVersion
input TokenStream
dictionary CharArraySet
onlyLongestMatch bool
리턴 Lucene.Net.Analysis.Tokenattributes

CompoundWordTokenFilterBase() 보호된 메소드

protected CompoundWordTokenFilterBase ( LuceneVersion matchVersion, TokenStream input, CharArraySet dictionary, int minWordSize, int minSubwordSize, int maxSubwordSize, bool onlyLongestMatch ) : Lucene.Net.Analysis.Tokenattributes
matchVersion LuceneVersion
input TokenStream
dictionary CharArraySet
minWordSize int
minSubwordSize int
maxSubwordSize int
onlyLongestMatch bool
리턴 Lucene.Net.Analysis.Tokenattributes

Decompose() 보호된 추상적인 메소드

Decomposes the current #termAtt and places CompoundToken instances in the #tokens list. The original token may not be placed in the list, as it is automatically passed through this filter.
protected abstract Decompose ( ) : void
리턴 void

IncrementToken() 공개 최종 메소드

public final IncrementToken ( ) : bool
리턴 bool

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

프로퍼티 상세

dictionary 보호되어 있는 프로퍼티

protected CharArraySet dictionary
리턴 CharArraySet

matchVersion 보호되어 있는 프로퍼티

protected LuceneVersion matchVersion
리턴 LuceneVersion

maxSubwordSize 보호되어 있는 프로퍼티

protected int maxSubwordSize
리턴 int

minSubwordSize 보호되어 있는 프로퍼티

protected int minSubwordSize
리턴 int

minWordSize 보호되어 있는 프로퍼티

protected int minWordSize
리턴 int

offsetAtt 보호되어 있는 프로퍼티

protected IOffsetAttribute offsetAtt
리턴 IOffsetAttribute

onlyLongestMatch 보호되어 있는 프로퍼티

protected bool onlyLongestMatch
리턴 bool

termAtt 보호되어 있는 프로퍼티

protected ICharTermAttribute termAtt
리턴 ICharTermAttribute

tokens 보호되어 있는 프로퍼티

protected LinkedList tokens
리턴 LinkedList