textdistance

Sequence distance library

A Python library for comparing distances between sequences using various algorithms.

📐 Compute distance between sequences. 30+ algorithms, pure python implementation, common interface, optional external libs usage.

GitHub

3k stars
64 watching
251 forks
Language: Python
last commit: about 2 years ago
Linked from 2 awesome lists

algorithmalgorithmsdamerau-levenshteindamerau-levenshtein-distancediffdistancedistance-calculationhamming-distancejellyfishlevenshteinlevenshtein-distancepythontextdistance

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
tdebatty/java-string-similarityA Java library implementing various string similarity and distance measures.2,697
doukremt/distanceLibrary for comparing sequences of characters with various distance metrics.117
ztane/python-levenshteinFast string computation and similarity functions for text analysis1,265
roy-ht/editdistanceA fast implementation of Levenshtein distance for calculating string similarity664
prakhar1989/algorithmsAn implementation of various algorithms and data structures in Python.3,053
hbollon/go-edlibA comprehensive Go library for calculating string similarity and edit distances between strings488
dbalatero/levenshtein-ffiFast string edit distance computation using the Damerau-Levenshtein algorithm150
globalnamesarchitecture/damerau-levenshteinCalculates edit distance between two strings using the Damerau-Levenshtein algorithm145
feature23/stringsimilarity.netA .NET port of Java string similarity library implementing various distance and similarity measures452
pkinney/distanceProvides functions to calculate distances between points and lines in 2D and 3D spaces62
lrcfmd/elmdCalculates similarity between chemical compositions based on the minimal work required to transform one distribution into another.31
tcrouch/edits.crA collection of edit distance algorithms and similarity measures for text sequences16
nektro/zig-levenCalculates the difference between two strings using the Levenshtein distance algorithm7
tonytonyjan/jaro_winklerAn implementation of the Jaro-Winkler distance algorithm to compare strings195
mateusza/sqlite-levenshteinA utility extension for computing string similarities between two sequences using the Levenshtein distance algorithm15