Skip to main content

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, 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyxDamerauLevenshtein-1.7.1.tar.gz (39.7 kB view details)

Uploaded Source

Built Distribution

pyxDamerauLevenshtein-1.7.1-cp39-cp39-macosx_12_0_x86_64.whl (20.2 kB view details)

Uploaded CPython 3.9 macOS 12.0+ x86-64

File details

Details for the file pyxDamerauLevenshtein-1.7.1.tar.gz.

File metadata

  • Download URL: pyxDamerauLevenshtein-1.7.1.tar.gz
  • Upload date:
  • Size: 39.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pyxDamerauLevenshtein-1.7.1.tar.gz
Algorithm Hash digest
SHA256 321e40c10033c8b9c4f416a26e4a7d756b0291204a85a2499461051a3240a4ee
MD5 159447e01435c0fb1fe40232be983573
BLAKE2b-256 4c37fefa8524e61f513a26e2aa7224c5bbed0e4ff1b1bd713e69d5866550d170

See more details on using hashes here.

File details

Details for the file pyxDamerauLevenshtein-1.7.1-cp39-cp39-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for pyxDamerauLevenshtein-1.7.1-cp39-cp39-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 9a0babd50ff1669684916a9b5f4297a5f5abbcc150b243b3451758ad3336c9aa
MD5 589ab26c74c0629156575955e71cae3e
BLAKE2b-256 1e785f32f3a18e7295dab58fc95a64987cb85de43398ea2f424990123e620b27

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page