C# Класс org.apache.lucene.analysis.charfilter.NormalizeCharMap.Builder

Builds an NormalizeCharMap.

Call add() until you have added all the mappings, then call build() to get a NormalizeCharMap @lucene.experimental

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

Открытые методы

Метод Описание
add ( string match, string replacement ) : void

Records a replacement to be applied to the input stream. Whenever singleMatch occurs in the input, it will be replaced with replacement.

build ( ) : NormalizeCharMap

Builds the NormalizeCharMap; call this once you are done calling #add.

Описание методов

add() публичный Метод

Records a replacement to be applied to the input stream. Whenever singleMatch occurs in the input, it will be replaced with replacement.
if /// match is the empty string, or was /// already previously added
public add ( string match, string replacement ) : void
match string input String to be replaced
replacement string output String
Результат void

build() публичный Метод

Builds the NormalizeCharMap; call this once you are done calling #add.
public build ( ) : NormalizeCharMap
Результат NormalizeCharMap