Versions in this module Expand all Collapse all v1 v1.0.1 Mar 23, 2025 v1.0.0 Mar 9, 2025 Changes in this version + var ErrBadParsing ParseError = errors.New("failed to parse the string") + var ErrEmptyInput ArgumentError = errors.New("empty input") + var ErrGematriaParse GematriaError = errors.New("unable to parse gematria for value") + var ErrRegexpMissing RegexpError = errors.New("regexp compile result missing") + type ArgumentError error + type CleanError error + type GematriaError error + type ITextee interface + CalculateGematria func() *Textee + ParseString func(input string) *Textee + SortedSubstrings func() SortedStringQuantities + type ParseError error + type RegexpError error + type SortedStringQuantities []SubstringQuantity + func (sq SortedStringQuantities) Len() int + func (sq SortedStringQuantities) Less(i, j int) bool + func (sq SortedStringQuantities) Swap(i, j int) + type SubstringQuantity struct + Quantity int + Substring string + type Textee struct + Gematria gematria.Gematria + Gematrias map[string]gematria.Gematria + Input string + ScoresEights map[uint64][]string + ScoresEnglish map[uint64][]string + ScoresJewish map[uint64][]string + ScoresMajestic map[uint64][]string + ScoresMystery map[uint64][]string + ScoresSimple map[uint64][]string + Substrings map[string]*atomic.Int32 + func NewTextee(opts ...string) (*Textee, error) + func (tt *Textee) CalculateGematria() (*Textee, error) + func (tt *Textee) ParseString(input string) (*Textee, error) + func (tt *Textee) SortedSubstrings() SortedStringQuantities + func (tt *Textee) String() string