C# Класс org.apache.lucene.analysis.synonym.SynonymMap.Parser

Abstraction for parsing synonym files. @lucene.experimental
Наследование: Builder
Показать файл Открыть проект

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

Метод Описание
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