Fork me on GitHub
  • API

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    SynonymMap.Builder
    SynonymMap.Parser
    WordnetSynonymParser
    Inherited Members
    SynonymMap.Parser.Analyze(string, CharsRef)
    SynonymMap.Builder.Join(string[], CharsRef)
    SynonymMap.Builder.Add(CharsRef, CharsRef, bool)
    SynonymMap.Builder.Build()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    Overrides
    SynonymMap.Parser.Parse(TextReader)
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.