closest#

scikitplot.levenshtein.closest(query, choices, *, key=None, score_cutoff=0.0, backend='auto', strict=False)[source]#

Return the closest choice, or None for an empty iterable.

Parameters:
Return type:

Match | None