Documentation ¶ Index ¶ type AcceptAll func (lex AcceptAll) GetAlphabet() *alphabet.Alphabet func (lex AcceptAll) HasAnagram(word Word) bool func (lex AcceptAll) HasWord(word Word) bool func (lex AcceptAll) Name() string type Lexicon type Word Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type AcceptAll ¶ type AcceptAll struct { Alph *alphabet.Alphabet } func (AcceptAll) GetAlphabet ¶ func (lex AcceptAll) GetAlphabet() *alphabet.Alphabet func (AcceptAll) HasAnagram ¶ func (lex AcceptAll) HasAnagram(word Word) bool func (AcceptAll) HasWord ¶ func (lex AcceptAll) HasWord(word Word) bool func (AcceptAll) Name ¶ func (lex AcceptAll) Name() string type Lexicon ¶ type Lexicon interface { Name() string GetAlphabet() *alphabet.Alphabet HasWord(word Word) bool HasAnagram(word Word) bool } type Word ¶ type Word = alphabet.MachineWord Source Files ¶ View all Source files lexicon.go Click to show internal directories. Click to hide internal directories.