opentofu/helper/didyoumean
Martin Atkins ccc20fdad1 helper/didyoumean: helper library for "Did you mean ...? suggestions
Uses Levenshtein distance to decide if the input is similar enough to one
of the given suggestions, and returns that suggestion if so.

The distance threshold of three was arrived at experimentally, and has
no objective basis.
2017-10-16 17:50:57 -07:00
..
name_suggestion_test.go helper/didyoumean: helper library for "Did you mean ...? suggestions 2017-10-16 17:50:57 -07:00
name_suggestion.go helper/didyoumean: helper library for "Did you mean ...? suggestions 2017-10-16 17:50:57 -07:00