class

CrystalMoji::TokenBase

Inherits Reference < Object

Constructors

new(word_id : Int32, surface : String, type : CrystalMoji::Viterbi::ViterbiNode::Type, position : Int32, dictionary : CrystalMoji::Dict::Dictionary)
Source

Instance methods

dictionary
Source
get_all_features
Source
get_all_features_array
Source
known?
Source
position
Source
surface
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
type
Source
user?
Source
word_id
Source