C# 클래스 org.apache.lucene.analysis.synonym.SynonymMap.Parser

Abstraction for parsing synonym files. @lucene.experimental
상속: Builder
파일 보기 프로젝트 열기: paulirwin/lucene.net

공개 메소드들

메소드 설명
Parser ( bool dedup, Analyzer analyzer ) : System
analyze ( string text, CharsRef reuse ) : CharsRef

Sugar: analyzes the text with the analyzer and separates by SynonymMap#WORD_SEPARATOR. reuse and its chars must not be null.

parse ( Reader @in ) : void

Parse the given input, adding synonyms to the inherited Builder.

메소드 상세

Parser() 공개 메소드

public Parser ( bool dedup, Analyzer analyzer ) : System
dedup bool
analyzer Analyzer
리턴 System

analyze() 공개 메소드

Sugar: analyzes the text with the analyzer and separates by SynonymMap#WORD_SEPARATOR. reuse and its chars must not be null.
public analyze ( string text, CharsRef reuse ) : CharsRef
text string
reuse CharsRef
리턴 CharsRef

parse() 공개 추상적인 메소드

Parse the given input, adding synonyms to the inherited Builder.
public abstract parse ( Reader @in ) : void
@in Reader
리턴 void