Class WordnetSynonymParser
Parser for wordnet prolog format
See http://wordnet.princeton.edu/man/prologdb.5WN.html for a description of the format.
Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Analysis.Synonym
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class WordnetSynonymParser : SynonymMap.Parser
Constructors
WordnetSynonymParser(bool, bool, Analyzer)
Parser for wordnet prolog format
See http://wordnet.princeton.edu/man/prologdb.5WN.html for a description of the format.
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public WordnetSynonymParser(bool dedup, bool expand, Analyzer analyzer)
Parameters
Type | Name | Description |
---|---|---|
bool | dedup | |
bool | expand | |
Analyzer | analyzer |
Methods
Parse(TextReader)
Parse the given input, adding synonyms to the inherited SynonymMap.Builder.
Declaration
public override void Parse(TextReader @in)
Parameters
Type | Name | Description |
---|---|---|
TextReader | in | The input to parse |