skip to navigation
skip to content

pyxDamerauLevenshtein 1.4.1

pyxDamerauLevenshtein implements the Damerau-Levenshtein (DL) edit distance algorithm for Python in Cython for high performance.

pyxDamerauLevenshtein implements the Damerau-Levenshtein (DL) edit distance algorithm for Python in Cython for high performance. Courtesy Wikipedia:

In information theory and computer science, the Damerau-Levenshtein distance (named after Frederick J. Damerau and Vladimir I. Levenshtein) is a “distance” (string metric) between two strings, i.e., finite sequence of symbols, given by counting the minimum number of operations needed to transform one string into the other, where an operation is defined as an insertion, deletion, or substitution of a single character, or a transposition of two adjacent characters.

This implementation is based on Michael Homer’s pure Python implementation, which implements the optimal string alignment distance algorithm. It runs in O(N*M) time using O(M) space. It supports unicode characters.

For more information on pyxDamerauLevenshtein, visit the GitHub project page.

 
File Type Py Version Uploaded on Size
pyxDamerauLevenshtein-1.4.1-cp35-cp35m-macosx_10_11_x86_64.whl (md5) Python Wheel 3.5 2016-08-19 23KB
pyxDamerauLevenshtein-1.4.1.tar.gz (md5) Source 2016-07-18 48KB