Versions in this module Expand all Collapse all v0 v0.2.0 Apr 21, 2021 v0.1.0 Aug 9, 2020 Changes in this version + type AnagramSearcher struct + func NewAnagramSearcher(anagram []byte, blank byte) *AnagramSearcher + func (p *AnagramSearcher) Backstep() + func (p *AnagramSearcher) Step(b byte) + func (p AnagramSearcher) AllowStep(b byte) bool + func (p AnagramSearcher) AllowWord() bool + func (p AnagramSearcher) Chosen() + type Builder struct + func (db *Builder) Add(b []byte) error + func (db *Builder) Finish() (*Dawg, error) + func (db *Builder) Initialise() + type Dawg struct + func New(s [][]byte) (*Dawg, error) + func (t *Dawg) GobDecode(b []byte) error + func (t *Dawg) GobEncode() ([]byte, error) + func (t *Dawg) Lookup(word []byte) (int, bool) + func (t *Dawg) NumberOfWords() int + func (t *Dawg) Search(searchers ...Searcher) (solns [][]byte, ids []int) + type PatternSearcher struct + func NewPatternSearcher(pattern []byte, blank byte) *PatternSearcher + func (p *PatternSearcher) Backstep() + func (p *PatternSearcher) Step(b byte) + func (p PatternSearcher) AllowStep(b byte) bool + func (p PatternSearcher) AllowWord() bool + func (p PatternSearcher) Chosen() + type Searcher interface + AllowStep func(b byte) bool + AllowWord func() bool + Backstep func() + Chosen func() + Step func(b byte)