Expand description
Contains utilities for fuzzy string matching and similarity calculations.
This module provides functions for performing partial string comparisons and determining the similarity between two strings based on configurable thresholds. It is useful for tasks like searching, filtering, or matching user input to stored data.
Constants§
- DEFAULT_
FUZZ_ THRESHOLD - The default threshold for determining a match in fuzzy string comparisons.
Functions§
- fuzzy_
match - Performs a fuzzy match between two strings using the default threshold.
- fuzzy_
match_ with_ threshold - Performs a fuzzy match between two strings using a specified threshold.
- partial_
ratio - Computes the partial ratio similarity score between two strings.