Versions in this module Expand all Collapse all v0 v0.1.5 Dec 13, 2023 Changes in this version + const SuperscriptAlef + var ErrBadResponse = errors.New("speech: response buffer could not be read") + var ErrRequest = errors.New("speech: request was not completed successfuly") + func IsShadda(letter rune) bool + func IsVowel(letter rune) bool + type BadFormatError struct + ExpectedFormat string + Text string + func (e BadFormatError) Error() string + type Letter struct + Letter rune + Shadda bool + Vowel rune + func (l Letter) String() string + type UnrecognizedCharacterError struct + Character rune + func (e UnrecognizedCharacterError) Error() string + type Word []Letter + func Disambiguate(text string) ([]Word, error) + func (w Word) String() string v0.1.0 Dec 7, 2023 Changes in this version + const Damma + const Dammatan + const Fatha + const Fathatan + const Kasra + const Kasratan + const Placeholder + const Shadda + const Sukoon + var GrammaticalTags = []string + var Punctuation = regexp.MustCompile("[\\.:«»]") + func CleanContent(content string) (string, error) + func IsArabicLetter(letter rune) bool + func IsPunctuation(letter rune) bool + func IsWhitespace(letter rune) bool + func IsWordPunctuation(word string) bool