a library for doing approximate and phonetic matching of strings.
Project description
This is a simple fork of https://github.com/jamesturk/jellyfish package, no code change was done, only intention is to provide wheels for linux in pypi.
Jellyfish is a python library for doing approximate and phonetic matching of strings.
Written by James Turk <dev@jamesturk.net> and Michael Stephens.
See https://github.com/jamesturk/jellyfish/graphs/contributors for contributors.
See http://jellyfish.readthedocs.io for documentation.
Source is available at http://github.com/jamesturk/jellyfish.
Jellyfish >= 0.7 only supports Python 3, if you need Python 2 please use 0.6.x.
Included Algorithms
String comparison:
Levenshtein Distance
Damerau-Levenshtein Distance
Jaro Distance
Jaro-Winkler Distance
Match Rating Approach Comparison
Hamming Distance
Phonetic encoding:
American Soundex
Metaphone
NYSIIS (New York State Identification and Intelligence System)
Match Rating Codex
Example Usage
>>> import jellyfish >>> jellyfish.levenshtein_distance(u'jellyfish', u'smellyfish') 2 >>> jellyfish.jaro_distance(u'jellyfish', u'smellyfish') 0.89629629629629637 >>> jellyfish.damerau_levenshtein_distance(u'jellyfish', u'jellyfihs') 1
>>> jellyfish.metaphone(u'Jellyfish') 'JLFX' >>> jellyfish.soundex(u'Jellyfish') 'J412' >>> jellyfish.nysiis(u'Jellyfish') 'JALYF' >>> jellyfish.match_rating_codex(u'Jellyfish') 'JLLFSH'
Running Tests
If you are interested in contributing to Jellyfish, you may want to run tests locally. Jellyfish uses tox to run tests, which you can setup and run as follows:
pip install tox # cd jellyfish/ tox
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file jellyfish-wheel-0.7.0.tar.gz
.
File metadata
- Download URL: jellyfish-wheel-0.7.0.tar.gz
- Upload date:
- Size: 130.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 010a65fab78194dbab31f941169fd343aa20d807cf627e974e37b2b5d2ecbbb1 |
|
MD5 | b8453e9111082bc67a03971acf6ce577 |
|
BLAKE2b-256 | 7fa56e9ba73587de537ce1be03bb3e54a575933d380eb6e09646b7b590aab9aa |
File details
Details for the file jellyfish_wheel-0.7.0-cp37-cp37m-manylinux1_x86_64.whl
.
File metadata
- Download URL: jellyfish_wheel-0.7.0-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 59.5 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7534548bddeef42eebe3ec38c9fdbf1abb45b0eb3fa97e3f8c294d6cb96b21b |
|
MD5 | a95dcb1f52ffa6c427c5f8d2aa94deed |
|
BLAKE2b-256 | ee53900a04c74f565de89a8b9dff6b19e20de809e9a169fd89d7f09731c521e2 |
File details
Details for the file jellyfish_wheel-0.7.0-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: jellyfish_wheel-0.7.0-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 59.5 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a090d2e2d48ad4c480d9b7a27ea8d8c27ace08e71029db70479f3236fa1e357 |
|
MD5 | 7882b29a7a07080dabbf8b0cb7cfd2a5 |
|
BLAKE2b-256 | 5b600196173a0ddcf8f83ef19dd556385bb9153090c735cbc7ba8bb0ef16d4ee |
File details
Details for the file jellyfish_wheel-0.7.0-cp35-cp35m-manylinux1_x86_64.whl
.
File metadata
- Download URL: jellyfish_wheel-0.7.0-cp35-cp35m-manylinux1_x86_64.whl
- Upload date:
- Size: 59.5 kB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08c0cceaf4c032cf4b8dba2692319a2984f88201674d70f42862a2c985241022 |
|
MD5 | 34f4bb0aa75052535531b13eaa7ac28d |
|
BLAKE2b-256 | 5103328b3849fd2074aa9d45a9508b66f6c89c5f56b4a84ee8bb5b89eb728c83 |
File details
Details for the file jellyfish_wheel-0.7.0-cp34-cp34m-manylinux1_x86_64.whl
.
File metadata
- Download URL: jellyfish_wheel-0.7.0-cp34-cp34m-manylinux1_x86_64.whl
- Upload date:
- Size: 59.3 kB
- Tags: CPython 3.4m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e88592dda21e017a2ee43a9e284f2447a8d75b1c3fe9d74731c351348432646 |
|
MD5 | 13b5ffddaceb889c5a57fe760989be23 |
|
BLAKE2b-256 | e13bb0dfad375896f378855ef1bce8b790c525b3c403fdac9265cefc844a1a13 |