Crate magic_string_search

Source

Functionsยง

compare
Compares two strings and returns a score based on the longest common subsequence (LCS) and normalized length comparison.
rank
Ranks a list of strings based on their similarity to a query string using the compare function.
struct_rank
Ranks a list of structured objects based on their similarity to a query string using a custom accessor function.