3 ms·
If you're comparing names of things, use the Jaro–Winkler distance. It weights the early letters in the string as more important. Excellent implementation of t
by timClicks 8y ago
If you're comparing names of things, use the Jaro–Winkler distance. It weights the early letters in the string as more important.
Excellent implementation of these two and other edit distances are available as part of the jellyfish package https://pypi.org/project/jellyfish/ https://pypi.org/project/jellyfish/