a library for doing approximate and phonetic matching of strings.
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 <firstname.lastname@example.org> 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.
- Levenshtein Distance
- Damerau-Levenshtein Distance
- Jaro Distance
- Jaro-Winkler Distance
- Match Rating Approach Comparison
- Hamming Distance
- American Soundex
- NYSIIS (New York State Identification and Intelligence System)
- Match Rating Codex
>>> 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'
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
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|jellyfish_wheel-0.7.0-cp34-cp34m-manylinux1_x86_64.whl (59.3 kB) Copy SHA256 hash SHA256||Wheel||cp34|
|jellyfish_wheel-0.7.0-cp35-cp35m-manylinux1_x86_64.whl (59.5 kB) Copy SHA256 hash SHA256||Wheel||cp35|
|jellyfish_wheel-0.7.0-cp36-cp36m-manylinux1_x86_64.whl (59.5 kB) Copy SHA256 hash SHA256||Wheel||cp36|
|jellyfish_wheel-0.7.0-cp37-cp37m-manylinux1_x86_64.whl (59.5 kB) Copy SHA256 hash SHA256||Wheel||cp37|
|jellyfish-wheel-0.7.0.tar.gz (130.3 kB) Copy SHA256 hash SHA256||Source||None|