Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Compress ¶
func Compress(root *TrieNode)
Compress cut the node below that no more branches to reduce the capacity of the whole tree
func SetStopFilter ¶ added in v0.1.2
func SetStopFilter(b bool)
Types ¶
type TrieNode ¶
func NewTrieNode ¶ added in v0.1.2
func NewTrieNode() *TrieNode
func (*TrieNode) InsertPhrase ¶ added in v0.1.2
Click to show internal directories.
Click to hide internal directories.