Skip to main content

A python implementation of a variety of text distance and similarity metrics.

Project description

python-text-distance

MIT license Generic badge Build Status

A python implementation of a variety of text distance and similarity metrics.


Install

Requirements: py>=3.3, pyyaml>=5.1.2

Install Command: pip install pytextdist


Modules

Edit Distance

All edit distances listed in Edit Distance on Wikipedia are implemented.

Levenshtein Distance: edit with insertion, deletion, and substitution

Longest Common Subsequence Distance: edit with insertion and deletion

Damerau-Levenshtein Distance: edit with insertion, deletion, substitution, and transposition of two adjacent units

Hamming Distance: edit with substition

Jaro & Jaro-Winkler Similarity: edit with transposition

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

pytextdist-0.1.2.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

pytextdist-0.1.2-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

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