class

CrystalMoji::Dict::InsertedDictionary

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

Constructors

new(features : Int32)
Source

Instance methods

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_feature_with_array(word_id : Int32, fields : Array(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