lexicon

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptAll added in v0.4.5

type AcceptAll struct {
	Alph *tilemapping.TileMapping
}

func (AcceptAll) GetAlphabet added in v0.4.5

func (lex AcceptAll) GetAlphabet() *tilemapping.TileMapping

func (AcceptAll) HasAnagram added in v0.4.5

func (lex AcceptAll) HasAnagram(word Word) bool

func (AcceptAll) HasWord added in v0.4.5

func (lex AcceptAll) HasWord(word Word) bool

func (AcceptAll) Name added in v0.4.5

func (lex AcceptAll) Name() string

type Lexicon added in v0.4.5

type Lexicon interface {
	Name() string
	GetAlphabet() *tilemapping.TileMapping
	HasWord(word Word) bool
	HasAnagram(word Word) bool
}

type Word

type Word = tilemapping.MachineWord

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL