class

CrystalMoji::Dict::UserDictionary

Inherits CrystalMoji::Dict::Dictionary < Reference < Object

Constructors

new(input : IO, total_features : Int32, reading_feature : Int32, part_of_speech_feature : Int32)
Source

Class methods

feature_separator
Source

Instance methods

add_entry(entry : String) : Nil
Source
find_user_dictionary_matches(text : String) : Array(UserDictionaryMatch)
Source
get_all_features(word_id : Int32) : String
Source
get_all_features_array(word_id : Int32) : Array(String)
Source
get_feature(word_id : Int32, *fields : Int32) : String
Source
get_left_id(word_id : Int32) : Int32
Source
get_right_id(word_id : Int32) : Int32
Source
get_word_cost(word_id : Int32) : Int32
Source