C# Class org.apache.lucene.analysis.synonym.WordnetSynonymParser

Parser for wordnet prolog format

See http://wordnet.princeton.edu/man/prologdb.5WN.html for a description of the format. @lucene.experimental

Inheritance: SynonymMap.Parser
ファイルを表示 Open project: paulirwin/lucene.net

Public Methods

Method Description
WordnetSynonymParser ( bool dedup, bool expand, Analyzer analyzer ) : System
parse ( Reader @in ) : void

Private Methods

Method Description
addInternal ( CharsRef synset, int size ) : void
parseSynonym ( string line, CharsRef reuse ) : CharsRef

Method Details

WordnetSynonymParser() public method

public WordnetSynonymParser ( bool dedup, bool expand, Analyzer analyzer ) : System
dedup bool
expand bool
analyzer Analyzer
return System

parse() public method

public parse ( Reader @in ) : void
@in Reader
return void