class Marisa::Wrapper::Trie
- Marisa::Wrapper::Trie
- Reference
- Object
Overview
Bindings for marisa::Trie in Crystal
Defined in:
lib_marisa.crConstructors
Instance Method Summary
- #build(keyset : Keyset, config_flags : Int32)
- #clear
- #common_prefix_search(agent : Agent) : Bool
- #handle : Pointer(Void)
- #load(filename : String)
- #lookup(agent : Agent) : Bool
- #lookup_by_key(ptr : Pointer(UInt8), length : UInt64) : UInt64
- #mmap(filename : String)
- #num_keys
- #predictive_search(agent : Agent) : Bool
- #reverse_lookup(agent : Agent)
- #reverse_lookup_by_id(id : UInt64) : Tuple(Pointer(UInt8), UInt64)
- #save(filename : String)