Documentation
¶
Overview ¶
package spell implements a rudementary spelling checker/suggester.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTrans []func(*Spell, []rune, int)
DefaultTrans is the set of default transformations: Remove, Transpose, Replace, Insert
Functions ¶
Types ¶
type Spell ¶
type Spell struct { Words trie.Trie Found trie.Trie Runes []rune Trans []func(*Spell, []rune, int) }
Click to show internal directories.
Click to hide internal directories.