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

Uploaded Source

Built Distribution

pyxDamerauLevenshtein-1.5-cp36-cp36m-macosx_10_12_x86_64.whl (25.3 kB view details)

Uploaded CPython 3.6m macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for pyxDamerauLevenshtein-1.5.tar.gz
Algorithm Hash digest
SHA256 00b836cdb7cff24abe20c2fdc6cdda4ac24413a82cf318c983980ce4aaec7e16
MD5 a78711135527b6f4ca3bc13f24aabd9a
BLAKE2b-256 09d877d02800d687ff8e12c8ec7b4ed917249fca27a1bccc6d24f0ac507a794c

See more details on using hashes here.

Provenance

File details

Details for the file pyxDamerauLevenshtein-1.5-cp36-cp36m-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pyxDamerauLevenshtein-1.5-cp36-cp36m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8bd2c0c168da622b07471572ca49d8a912f0b00d88235ac9522e3f662b4b01fb
MD5 1f2c908a7c41a559a507d47f0e227bc8
BLAKE2b-256 b9710ca0554db237c7c668e991e620c8b3cb8ab6a8738b66cbf46308da1acd03

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