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.0.tar.gz (36.8 kB view details)

Uploaded Source

Built Distribution

pyxDamerauLevenshtein-1.7.0-cp37-cp37m-macosx_10_9_x86_64.whl (20.3 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: pyxDamerauLevenshtein-1.7.0.tar.gz
  • Upload date:
  • Size: 36.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.7.6

File hashes

Hashes for pyxDamerauLevenshtein-1.7.0.tar.gz
Algorithm Hash digest
SHA256 0eb41e425843df11dea4cf428060cf9a149d6d19352dcd89189bc771a424e477
MD5 d2e5adabafe9241e04cb6d9b2d255d82
BLAKE2b-256 aae853d212009d6d40fdd98ef41585e5442812323d145aa47f507996093567f2

See more details on using hashes here.

Provenance

File details

Details for the file pyxDamerauLevenshtein-1.7.0-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: pyxDamerauLevenshtein-1.7.0-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.7.6

File hashes

Hashes for pyxDamerauLevenshtein-1.7.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6ff991d6e79ad01009fae0bf85f2b304eb33923f0e3ee265448d880b77d70e8c
MD5 693e36dc8f29ca53b9ce373490f27355
BLAKE2b-256 f2f87f16dd959ea761cdaac1f4dca46e70beba20b2ab0110cabdde35411ce0a4

See more details on using hashes here.

Provenance

Supported by

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