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

Abstraction for parsing synonym files. @lucene.experimental
Inheritance: Builder
Afficher le fichier Open project: paulirwin/lucene.net

Méthodes publiques

Méthode 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 méthode

public Parser ( bool dedup, Analyzer analyzer ) : System
dedup bool
analyzer Analyzer
Résultat System

analyze() public méthode

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
Résultat CharsRef

parse() public abstract méthode

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