Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class TokenInfoDictionaryBuilder

    Inheritance
    System.Object
    TokenInfoDictionaryBuilder
    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.Ja.Util
    Assembly: Lucene.Net.Analysis.Kuromoji.dll
    Syntax
    public class TokenInfoDictionaryBuilder

    Constructors

    | Improve this Doc View Source

    TokenInfoDictionaryBuilder(DictionaryBuilder.DictionaryFormat, String, Boolean)

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

    Methods

    | Improve this Doc View Source

    Build(String)

    Declaration
    public virtual TokenInfoDictionaryWriter Build(string dirname)
    Parameters
    Type Name Description
    System.String dirname
    Returns
    Type Description
    TokenInfoDictionaryWriter
    | Improve this Doc View Source

    BuildDictionary(IList<String>)

    Declaration
    public virtual TokenInfoDictionaryWriter BuildDictionary(IList<string> csvFiles)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<System.String> csvFiles
    Returns
    Type Description
    TokenInfoDictionaryWriter
    | Improve this Doc View Source

    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
    System.String[] features
    Returns
    Type Description
    System.String[]
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.