C# Class org.apache.lucene.analysis.synonym.SynonymMap.Parser

Abstraction for parsing synonym files. @lucene.experimental
Inheritance: Builder
Exibir arquivo Open project: paulirwin/lucene.net

Public Methods

Method Description
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.

Method Details

Parser() public method

public Parser ( bool dedup, Analyzer analyzer ) : System
dedup bool
analyzer Analyzer
return System

analyze() public method

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
return CharsRef

parse() public abstract method

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