Module fuzzy

Module fuzzy 

Source
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.