Show / Hide Table of Contents

    Interface IDictionary

    Dictionary interface for retrieving morphological data by id.

    Namespace: Lucene.Net.Analysis.Ja.Dict
    Assembly: Lucene.Net.Analysis.Kuromoji.dll
    Syntax
    public interface IDictionary

    Methods

    | Improve this Doc View Source

    GetBaseForm(Int32, Char[], Int32, Int32)

    Get base form of word.

    Declaration
    string GetBaseForm(int wordId, char[] surface, int off, int len)
    Parameters
    Type Name Description
    System.Int32 wordId

    Word ID of token.

    System.Char[] surface
    System.Int32 off
    System.Int32 len
    Returns
    Type Description
    System.String

    Base form (only different for inflected words, otherwise null).

    | Improve this Doc View Source

    GetInflectionForm(Int32)

    Get inflection form of tokens.

    Declaration
    string GetInflectionForm(int wordId)
    Parameters
    Type Name Description
    System.Int32 wordId

    Word ID of token.

    Returns
    Type Description
    System.String

    Inflection form, or null.

    | Improve this Doc View Source

    GetInflectionType(Int32)

    Get inflection type of tokens.

    Declaration
    string GetInflectionType(int wordId)
    Parameters
    Type Name Description
    System.Int32 wordId

    Word ID of token.

    Returns
    Type Description
    System.String

    Inflection type, or null.

    | Improve this Doc View Source

    GetLeftId(Int32)

    Get left id of specified word.

    Declaration
    int GetLeftId(int wordId)
    Parameters
    Type Name Description
    System.Int32 wordId

    Word ID of token.

    Returns
    Type Description
    System.Int32

    Left id.

    | Improve this Doc View Source

    GetPartOfSpeech(Int32)

    Get Part-Of-Speech of tokens

    Declaration
    string GetPartOfSpeech(int wordId)
    Parameters
    Type Name Description
    System.Int32 wordId

    Word ID of token.

    Returns
    Type Description
    System.String

    Part-Of-Speech of the token.

    | Improve this Doc View Source

    GetPronunciation(Int32, Char[], Int32, Int32)

    Get pronunciation of tokens

    Declaration
    string GetPronunciation(int wordId, char[] surface, int off, int len)
    Parameters
    Type Name Description
    System.Int32 wordId

    Word ID of token.

    System.Char[] surface
    System.Int32 off
    System.Int32 len
    Returns
    Type Description
    System.String

    Pronunciation of the token.

    | Improve this Doc View Source

    GetReading(Int32, Char[], Int32, Int32)

    Get reading of tokens.

    Declaration
    string GetReading(int wordId, char[] surface, int off, int len)
    Parameters
    Type Name Description
    System.Int32 wordId

    Word ID of token.

    System.Char[] surface
    System.Int32 off
    System.Int32 len
    Returns
    Type Description
    System.String

    Reading of the token.

    | Improve this Doc View Source

    GetRightId(Int32)

    Get right id of specified word.

    Declaration
    int GetRightId(int wordId)
    Parameters
    Type Name Description
    System.Int32 wordId

    Word ID of token.

    Returns
    Type Description
    System.Int32

    Right id.

    | Improve this Doc View Source

    GetWordCost(Int32)

    Get word cost of specified word

    Declaration
    int GetWordCost(int wordId)
    Parameters
    Type Name Description
    System.Int32 wordId

    Word ID of token.

    Returns
    Type Description
    System.Int32

    Word's cost.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)