Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dict ¶
type Dict struct { Trie *cedar.Cedar Values [][]string }
Dict contains the Trie and dict values
func BuildFromFile ¶
BuildFromFile builds the da dict from fileName
func (*Dict) PrefixMatch ¶
PrefixMatch str by Dict, returns the matched string and its according values
Click to show internal directories.
Click to hide internal directories.