C# Class Lucene.Net.Analysis.Synonym.SynonymMap.Parser

Abstraction for parsing synonym files. @lucene.experimental
Inheritance: Builder
显示文件 Open project: apache/lucenenet

Public Methods

Method Description
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 ( TextReader @in ) : void

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

Parser ( bool dedup, Analyzer analyzer ) : Lucene.Net.Analysis.Tokenattributes

Method Details

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 ( TextReader @in ) : void
@in System.IO.TextReader
return void

Parser() public method

public Parser ( bool dedup, Analyzer analyzer ) : Lucene.Net.Analysis.Tokenattributes
dedup bool
analyzer Analyzer
return Lucene.Net.Analysis.Tokenattributes