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

파일 보기 프로젝트 열기: paulirwin/lucene.net 1 사용 예제들

공개 메소드들

메소드 설명
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