C# 클래스 Lucene.Net.Analysis.Synonym.SlowSynonymMap

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

공개 프로퍼티들

프로퍼티 타입 설명
submap CharArrayMap
synonyms Token[]

공개 메소드들

메소드 설명
Add ( IList singleMatch, IList replacement, bool includeOrig, bool mergeExisting ) : void
MakeTokens ( IList strings ) : IList

Produces a List from a List

MergeTokens ( IList lst1, IList lst2 ) : IList

Merge two lists of tokens, producing a single list with manipulated positionIncrements so that the tokens end up at the same position. Example: [a b] merged with [c d] produces [a/b c/d] ('/' denotes tokens in the same position) Example: [a,5 b,2] merged with [c d,4 e,4] produces [c a,5/d b,2 e,2] (a,n means a has posInc=n)

SlowSynonymMap ( ) : Lucene.Net.Analysis.Util
SlowSynonymMap ( bool ignoreCase ) : Lucene.Net.Analysis.Util
ToString ( ) : string

메소드 상세

Add() 공개 메소드

public Add ( IList singleMatch, IList replacement, bool includeOrig, bool mergeExisting ) : void
singleMatch IList List, the sequence of strings to match
replacement IList List the list of tokens to use on a match
includeOrig bool sets a flag on this mapping signaling the generation of matched tokens in addition to the replacement tokens
mergeExisting bool merge the replacement tokens with any other mappings that exist
리턴 void

MakeTokens() 공개 정적인 메소드

Produces a List from a List
public static MakeTokens ( IList strings ) : IList
strings IList
리턴 IList

MergeTokens() 공개 정적인 메소드

Merge two lists of tokens, producing a single list with manipulated positionIncrements so that the tokens end up at the same position. Example: [a b] merged with [c d] produces [a/b c/d] ('/' denotes tokens in the same position) Example: [a,5 b,2] merged with [c d,4 e,4] produces [c a,5/d b,2 e,2] (a,n means a has posInc=n)
public static MergeTokens ( IList lst1, IList lst2 ) : IList
lst1 IList
lst2 IList
리턴 IList

SlowSynonymMap() 공개 메소드

public SlowSynonymMap ( ) : Lucene.Net.Analysis.Util
리턴 Lucene.Net.Analysis.Util

SlowSynonymMap() 공개 메소드

public SlowSynonymMap ( bool ignoreCase ) : Lucene.Net.Analysis.Util
ignoreCase bool
리턴 Lucene.Net.Analysis.Util

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

submap 공개적으로 프로퍼티

@lucene.internal
public CharArrayMap submap
리턴 CharArrayMap

synonyms 공개적으로 프로퍼티

@lucene.internal
public Token[] synonyms
리턴 Token[]