C# Class Lucene.Net.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: apache/lucenenet Class Usage Examples

Public Methods

Method Description
Parse ( TextReader.TextReader @in ) : void
WordnetSynonymParser ( bool dedup, bool expand, Analyzer analyzer ) : System

Private Methods

Method Description
AddInternal ( CharsRef synset, int size ) : void
ParseSynonym ( string line, CharsRef reuse ) : CharsRef

Method Details

Parse() public method

public Parse ( TextReader.TextReader @in ) : void
@in System.IO.TextReader.TextReader
return void

WordnetSynonymParser() public method

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