commit | 5848637cb94b532bcc32958c7b621512499d8557 | [log] [tgz] |
---|---|---|
author | James Turk <dev@jamesturk.net> | Tue Oct 11 16:51:55 2022 -0400 |
committer | GitHub <noreply@github.com> | Tue Oct 11 16:51:55 2022 -0400 |
tree | 785370cbc4ffcd2ada5912568a239d7930e3870c | |
parent | 811a86817af8635de9183a50eec8a8ddf888f595 [diff] | |
parent | ce228d97c76153ccf54d40b9e7094c3d3f51cffb [diff] |
Merge pull request #169 from jamesturk/dependabot/github_actions/pypa/gh-action-pypi-publish-1.5.1 Bump pypa/gh-action-pypi-publish from 1.4.1 to 1.5.1
jellyfish is a library for approximate & phonetic matching of strings.
Source: https://github.com/jamesturk/jellyfish
Documentation: https://jamesturk.github.io/jellyfish/
Issues: https://github.com/jamesturk/jellyfish/issues
String comparison:
Phonetic encoding:
>>> 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'