A python implementation of a variety of text distance and similarity metrics.
Project description
python-text-distance
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
Built Distribution
Hashes for pytextdist-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de9102aaad3a16ac5d8ddd6b1e5ace4dc18f0407415aeda930b4d676d96b2b9b |
|
MD5 | 4d25765c6f2656a3d49392d498678961 |
|
BLAKE2b-256 | 0198e179388458dc9ac89b03cc134a76ed0a843c58f82d144cb7ad031b374728 |