Skip to main content

Module fuzzy

Module fuzzy 

Source
Expand description

Fuzzy string matching for “did you mean?” suggestions.

Implements the Levenshtein distance algorithm (Wagner-Fischer) to provide helpful suggestions when users make typos in entity names, resource names, or other identifiers.

Functions§

find_best_match
Find the single best match for a target string
levenshtein_distance
Calculate the Levenshtein distance between two strings
suggest_similar
Find similar strings within a given edit distance threshold