Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class UnknownDictionary

    Dictionary for unknown-word handling.

    Inheritance
    object
    BinaryDictionary
    UnknownDictionary
    Implements
    IDictionary
    Inherited Members
    BinaryDictionary.DICT_FILENAME_SUFFIX
    BinaryDictionary.TARGETMAP_FILENAME_SUFFIX
    BinaryDictionary.POSDICT_FILENAME_SUFFIX
    BinaryDictionary.DICT_HEADER
    BinaryDictionary.TARGETMAP_HEADER
    BinaryDictionary.POSDICT_HEADER
    BinaryDictionary.VERSION
    BinaryDictionary.GetResource(string)
    BinaryDictionary.GetTypeResource(Type, string)
    BinaryDictionary.LookupWordIds(int, Int32sRef)
    BinaryDictionary.GetLeftId(int)
    BinaryDictionary.GetRightId(int)
    BinaryDictionary.GetWordCost(int)
    BinaryDictionary.GetBaseForm(int, char[], int, int)
    BinaryDictionary.GetPartOfSpeech(int)
    BinaryDictionary.GetPronunciation(int, char[], int, int)
    BinaryDictionary.HAS_BASEFORM
    BinaryDictionary.HAS_READING
    BinaryDictionary.HAS_PRONUNCIATION
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Analysis.Ja.Dict
    Assembly: Lucene.Net.Analysis.Kuromoji.dll
    Syntax
    public class UnknownDictionary : BinaryDictionary, IDictionary

    Properties

    CharacterDefinition

    Dictionary for unknown-word handling.

    Declaration
    public virtual CharacterDefinition CharacterDefinition { get; }
    Property Value
    Type Description
    CharacterDefinition

    Instance

    Dictionary for unknown-word handling.

    Declaration
    public static UnknownDictionary Instance { get; }
    Property Value
    Type Description
    UnknownDictionary

    Methods

    GetInflectionForm(int)

    Get inflection form of tokens.

    Declaration
    public override string GetInflectionForm(int wordId)
    Parameters
    Type Name Description
    int wordId

    Word ID of token.

    Returns
    Type Description
    string

    Inflection form, or null.

    Overrides
    BinaryDictionary.GetInflectionForm(int)

    GetInflectionType(int)

    Get inflection type of tokens.

    Declaration
    public override string GetInflectionType(int wordId)
    Parameters
    Type Name Description
    int wordId

    Word ID of token.

    Returns
    Type Description
    string

    Inflection type, or null.

    Overrides
    BinaryDictionary.GetInflectionType(int)

    GetReading(int, char[], int, int)

    Get reading of tokens.

    Declaration
    public override string GetReading(int wordId, char[] surface, int off, int len)
    Parameters
    Type Name Description
    int wordId

    Word ID of token.

    char[] surface
    int off
    int len
    Returns
    Type Description
    string

    Reading of the token.

    Overrides
    BinaryDictionary.GetReading(int, char[], int, int)

    Lookup(char[], int, int)

    Dictionary for unknown-word handling.

    Declaration
    public virtual int Lookup(char[] text, int offset, int len)
    Parameters
    Type Name Description
    char[] text
    int offset
    int len
    Returns
    Type Description
    int

    Implements

    IDictionary
    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.