Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSimilarWord ¶
IsSimilarWord calculates "The Levenshtein Distance" between two strings which represents the minimum total cost of edits that would convert the first string into the second. If the distance is less than 3, the word is considered misspelled.
func SlicesContains ¶
func SlicesContains[E comparable](s []E, v E) bool
SlicesContains reports whether v is present in s. https://pkg.go.dev/golang.org/x/exp/slices#Contains
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.