Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
CrystalMoji::Viterbi::ViterbiLattice
Inherits
Reference
<
Object
Constructors
new
(dimension :
Int32
)
Source
Class methods
bos
Source
bos=
(bos :
String
)
Source
eos
Source
eos=
(eos :
String
)
Source
Instance methods
add_bos
Source
add_eos
Source
add_node
(node :
ViterbiNode
, start :
Int32
, _end :
Int32
)
Source
end_index_arr
Source
end_size_arr
Source
start_index_arr
Source
start_size_arr
Source
token_ends_where_current_token_starts
(start_index :
Int32
) :
Bool
Source