MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / get_close_matches

Function get_close_matches

Lib/difflib.py:703–749  ·  view source on GitHub ↗

Use SequenceMatcher to return list of the best "good enough" matches. word is a sequence for which close matches are desired (typically a string). possibilities is a list of sequences against which to match word (typically a list of strings). Optional arg n (default 3) is the

(word, possibilities, n=3, cutoff=0.6)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

set_seq2Method · 0.95
set_seq1Method · 0.95
real_quick_ratioMethod · 0.95
quick_ratioMethod · 0.95
ratioMethod · 0.95
SequenceMatcherClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected