Skip to main content

Minimum Edit Distance

Project description

# Minimum Edit Distance in Cython

[<img src=”https://travis-ci.com/blester125/string_distance.svg?branch=master” alt=”Build Status”>](https://travis-ci.com/blester125/string_distance)

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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for string_distance-0.3.3.tar.gz
Algorithm Hash digest
SHA256 dd621119ea02b5647e3ea53a86de110590340874ecf894f47f6c06a61be337e9
MD5 b379cc572897dec74e3c7532bb878249
BLAKE2b-256 fec92e4b005e5c383a7cd7826396f1b5816ab8df43df3fe8d2597c6218e4e212

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