Skip to main content

Minimum Edit Distance

Project description

Minimum Edit Distance in Cython

Build Status

This provides String Distance functions in Cython.

Edit Based

With these metrics smaller is better.

  • levenshtein (1 for insert, 1 for delete, and 1 for substitution)
  • levenshtein_no_sub (1 for insert, 1 for delete, 2 for substitution)
  • brew (0.1 for insert, 15 for delete, and 1 for substitution)
  • dameran_levenshtein (1 for insert, 1 for delete, 1 for substitution, 1 for transposition)

Token Based

  • cosine_distance
  • binary_cosine_distance
  • jaccard_distance

Sequence Based

With these metrics Larger is better.

  • longest_common_subsequence
  • longest_common_substring
  • Ratcliff-Obershelft

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

string_distance-0.3.2.tar.gz (487.9 kB view details)

Uploaded Source

File details

Details for the file string_distance-0.3.2.tar.gz.

File metadata

File hashes

Hashes for string_distance-0.3.2.tar.gz
Algorithm Hash digest
SHA256 4064515bdf9a0ea3cde804addc24906bc8ee8ed26d7fc9856f9517544385ed72
MD5 3321ba5b0762d691fda8797c20abc9e8
BLAKE2b-256 e003e3d1750a126238e4b0de3564d009e8300b03fa51ab94db65ef49f9d91935

See more details on using hashes here.

Supported by

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