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
    Namespace: Lucene.Net.Analysis.Synonym
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public class SynonymMap : object

    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
    FST<BytesRef> fst
    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 = null
    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
    FST<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
    BytesRefHash
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)