pyxDamerauLevenshtein implements the Damerau-Levenshtein (DL) edit distance algorithm for Python in Cython for high performance.
Project description
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. 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyxDamerauLevenshtein-1.0.tar.gz
.
File metadata
- Download URL: pyxDamerauLevenshtein-1.0.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03abea4ab92c736e6b70c4695e0c64fd909ebf82fce88383ea6a2c80c57bf841 |
|
MD5 | 88128359d271620cc925161e28f4f566 |
|
BLAKE2b-256 | 79be83206ebadbf3573af181dce00305a6e449214e47fc5eb60ea1c2265dba3f |