Versions in this module Expand all Collapse all v0 v0.55.0 May 4, 2024 v0.54.0 Apr 4, 2024 Changes in this version + const DefaultEncoding + const DefaultFlag + const EncodingCP1251 + const EncodingISCIIDevanagri + const EncodingISO8859_1 + const EncodingISO8859_10 + const EncodingISO8859_13 + const EncodingISO8859_14 + const EncodingISO8859_15 + const EncodingISO8859_2 + const EncodingISO8859_3 + const EncodingISO8859_4 + const EncodingISO8859_5 + const EncodingISO8859_6 + const EncodingISO8859_7 + const EncodingISO8859_8 + const EncodingISO8859_9 + const EncodingKOI8R + const EncodingKOI8U + const EncodingUTF8 + const FlagASCII + const FlagLong + const FlagNum + const FlagUTF8 + func MergeDictionaries(outFile string, inFiles ...string) (n int, err error) + type Morphemes map[string]string + func (morphs Morphemes) String() string + type Spell struct + func New() (spell *Spell) + func Open(affpath, dpath string) (spell *Spell, err error) + func (spell *Spell) AddDictionary(path string) (err error) + func (spell *Spell) Analyze(word string) Morphemes + func (spell *Spell) Spell(word string) (stem *Stem) + func (spell *Spell) Stem(word string) *Stem + type Stem struct + IsForbidden bool + Morphemes Morphemes + Parent *Stem + Word string + func (stem *Stem) Analyze() Morphemes + func (stem *Stem) Stem() *Stem