class

CrystalMoji::Viterbi::ViterbiNode

Inherits Reference < Object

Constructors

new(word_id : Int32, surface : String, left_id : Int32, right_id : Int32, word_cost : Int32, start_index : Int32, type : CrystalMoji::Viterbi::ViterbiNode::Type)
Source

Class methods

from_dict(word_id : Int32, word : String, dictionary : CrystalMoji::Dict::Dictionary, start_index : Int32, type : Type)
Source

Instance methods

left_id
Source
left_node
Source
left_node=(left_node : ViterbiNode | Nil)
Source
path_cost
Source
path_cost=(path_cost : Int32)
Source
right_id
Source
start_index
Source
surface
Source
type
Source
word_cost
Source
word_id
Source

Nested types