Versions in this module Expand all Collapse all v0 v0.1.0 Sep 4, 2025 Changes in this version + const Pertainym + type Criteria struct + Matching string + POS PartOfSpeechList + type Handle struct + func New(dir string) (*Handle, error) + func (h *Handle) Iterate(pos PartOfSpeechList, cb func(Lookup) error) error + func (h *Handle) Lookup(crit Criteria) ([]Lookup, error) + func (h *Handle) MorphWord(word string, pos PartOfSpeech) string + type Lookup struct + func (w *Lookup) Dump() + func (w *Lookup) DumpStr() string + func (w *Lookup) Gloss() string + func (w *Lookup) Lemma() string + func (w *Lookup) POS() PartOfSpeech + func (w *Lookup) Related(r Relation) (relationships []Lookup) + func (w *Lookup) String() string + func (w *Lookup) Synonyms() (synonyms []string) + func (w *Lookup) Word() string + type PartOfSpeech uint8 + const Adjective + const Adverb + const Noun + const Verb + func (pos PartOfSpeech) String() string + type PartOfSpeechList []PartOfSpeech + func (l PartOfSpeechList) Contains(want PartOfSpeech) bool + func (l PartOfSpeechList) Empty() bool + type Relation uint32 + const AlsoSee + const Antonym + const Attribute + const Cause + const ContainsDomainRegion + const ContainsDomainTopic + const ContainsDomainUsage + const DerivationallyRelatedForm + const DerivedFromAdjective + const Entailment + const Hypernym + const Hyponym + const InDomainRegion + const InDomainTopic + const InDomainUsage + const InstanceHypernym + const InstanceHyponym + const MemberHolonym + const MemberMeronym + const PartHolonym + const PartMeronym + const ParticipleOfVerb + const RelatedForm + const SimilarTo + const SubstanceHolonym + const SubstanceMeronym + const VerbGroup