Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class SynonymMap

    A map of synonyms, keys and values are phrases.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    SynonymMap
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Analysis.Synonym
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public class SynonymMap

    Constructors

    | Improve this Doc View Source

    SynonymMap(FST<BytesRef>, BytesRefHash, Int32)

    Declaration
    public SynonymMap(FST<BytesRef> fst, BytesRefHash words, int maxHorizontalContext)
    Parameters
    Type Name Description
    Lucene.Net.Util.Fst.FST<Lucene.Net.Util.BytesRef> fst
    Lucene.Net.Util.BytesRefHash words
    System.Int32 maxHorizontalContext

    Fields

    | Improve this Doc View Source

    WORD_SEPARATOR

    for multiword support, you must separate words with this separator

    Declaration
    public const char WORD_SEPARATOR = '\0'
    Field Value
    Type Description
    System.Char

    Properties

    | Improve this Doc View Source

    Fst

    map<input word, list<ord>>

    Declaration
    public FST<BytesRef> Fst { get; }
    Property Value
    Type Description
    Lucene.Net.Util.Fst.FST<Lucene.Net.Util.BytesRef>
    | Improve this Doc View Source

    MaxHorizontalContext

    maxHorizontalContext: maximum context we need on the tokenstream

    Declaration
    public int MaxHorizontalContext { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Words

    map<ord, outputword>

    Declaration
    public BytesRefHash Words { get; }
    Property Value
    Type Description
    Lucene.Net.Util.BytesRefHash
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 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.