C# Класс Lucene.Net.Analysis.Synonym.SlowSynonymMap

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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[]