class

CrystalMoji::Dict::UserDictionaryEntry

Inherits Reference < Object

Constructors

new(surface : String, costs : Array(Int32), features : Array(String))
Source

Instance methods

costs
Source
costs=(costs : Array(Int32))
Source
features
Source
features=(features : Array(String))
Source
get_all_features
Source
get_all_features_array
Source
get_feature(fields : Array(Int32)) : String
Source
get_left_id
Source
get_right_id
Source
get_word_cost
Source
surface
Source
surface=(surface : String)
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source