Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
kachet
master
Kachet
Context
DictEdgeBuilder
Edge
EdgeBuilder
EdgeType
LatinEdgeBuilder
PatEdgeBuilder
Pointer
PrefixTree
PuncEdgeBuilder
Tokenizer
UnkDictEdgeBuilder
Generated using Crystal 1.14.0
2024-11-26 18:57:39 UTC
class
Kachet::
DictEdgeBuilder
Kachet::DictEdgeBuilder
Kachet::EdgeBuilder
Reference
Object
Defined in:
kachet.cr
Constructors
.new
(tree : PrefixTree(Bool))
Instance Method Summary
#build
(context : Context) : Edge | Nil
#resize
#update
(pointer, ch)
Instance methods inherited from class
Kachet::EdgeBuilder
build(context : Context) : Edge | Nil
build
Constructor Detail
def self.
new
(tree :
PrefixTree
(Bool))
#
[
View source
]
Instance Method Detail
def
build
(context :
Context
) :
Edge
| Nil
#
[
View source
]
def
resize
#
[
View source
]
def
update
(pointer, ch)
#
[
View source
]