Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByteTrie ¶
type ByteTrie struct {
// contains filtered or unexported fields
}
func NewByteTrie ¶
func (*ByteTrie) CommonPrefixSearch ¶
func (*ByteTrie) ExactMatchSearch ¶
type ByteTrieBuilder ¶
type ByteTrieBuilder struct {
// contains filtered or unexported fields
}
func NewByteTrieBuilder ¶
func NewByteTrieBuilder(opt ...da.Option) *ByteTrieBuilder
func (*ByteTrieBuilder) BuildSlice ¶
func (b *ByteTrieBuilder) BuildSlice(xs [][]byte) (*ByteTrie, error)
type DictTrie ¶
type DictTrie struct {
// contains filtered or unexported fields
}
func (*DictTrie) CommonPrefixSearch ¶
func (*DictTrie) ExactMatchSearch ¶
type DictTrieBuilder ¶
type DictTrieBuilder struct {
// contains filtered or unexported fields
}
func NewDictTrieBuilder ¶
func NewDictTrieBuilder(opt ...da.Option) *DictTrieBuilder
func (*DictTrieBuilder) Build ¶
func (b *DictTrieBuilder) Build(ks doublearray.Walker, dict dict.Dict) (*DictTrie, error)
func (*DictTrieBuilder) BuildFromLines ¶
func (b *DictTrieBuilder) BuildFromLines(r io.Reader) (*DictTrie, error)
type RuneTrie ¶
type RuneTrie struct {
// contains filtered or unexported fields
}
func (*RuneTrie) CommonPrefixSearch ¶
func (*RuneTrie) ExactMatchSearch ¶
type RuneTrieBuilder ¶
type RuneTrieBuilder struct {
// contains filtered or unexported fields
}
func NewRuneTrieBuilder ¶
func NewRuneTrieBuilder(opt ...da.Option) *RuneTrieBuilder
func (*RuneTrieBuilder) BuildFromLines ¶
func (b *RuneTrieBuilder) BuildFromLines(r io.Reader) (*RuneTrie, error)
func (*RuneTrieBuilder) BuildSlice ¶
func (b *RuneTrieBuilder) BuildSlice(xs []string) (*RuneTrie, error)
Click to show internal directories.
Click to hide internal directories.