Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class TokenInfoDictionaryBuilder

    Inheritance
    object
    TokenInfoDictionaryBuilder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Analysis.Ja.Util
    Assembly: Lucene.Net.Analysis.Kuromoji.dll
    Syntax
    public class TokenInfoDictionaryBuilder

    Constructors

    TokenInfoDictionaryBuilder(DictionaryFormat, string, bool)

    Declaration
    public TokenInfoDictionaryBuilder(DictionaryBuilder.DictionaryFormat format, string encoding, bool normalizeEntries)
    Parameters
    Type Name Description
    DictionaryBuilder.DictionaryFormat format
    string encoding
    bool normalizeEntries

    Methods

    Build(string)

    Declaration
    public virtual TokenInfoDictionaryWriter Build(string dirname)
    Parameters
    Type Name Description
    string dirname
    Returns
    Type Description
    TokenInfoDictionaryWriter

    BuildDictionary(IList<string>)

    Declaration
    public virtual TokenInfoDictionaryWriter BuildDictionary(IList<string> csvFiles)
    Parameters
    Type Name Description
    IList<string> csvFiles
    Returns
    Type Description
    TokenInfoDictionaryWriter

    FormatEntry(string[])

    IPADIC features

    0 - surface 1 - left cost 2 - right cost 3 - word cost 4-9 - pos 10 - base form 11 - reading 12 - pronounciation

    UniDic features

    0 - surface 1 - left cost 2 - right cost 3 - word cost 4-9 - pos 10 - base form reading 11 - base form 12 - surface form 13 - surface reading

    Declaration
    public virtual string[] FormatEntry(string[] features)
    Parameters
    Type Name Description
    string[] features
    Returns
    Type Description
    string[]
    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.