Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://jamesturk.github.io/jellyfish/
🪼 a python library for doing approximate and phonetic matching of strings.
https://jamesturk.github.io/jellyfish/
fuzzy-search hacktoberfest hamming jaro-winkler levenshtein metaphone python soundex
Last synced: 20 days ago
JSON representation
🪼 a python library for doing approximate and phonetic matching of strings.
- Host: GitHub
- URL: https://jamesturk.github.io/jellyfish/
- Owner: jamesturk
- License: mit
- Created: 2010-07-09T20:41:11.000Z (about 14 years ago)
- Default Branch: main
- Last Pushed: 2024-06-03T04:20:54.000Z (about 1 month ago)
- Last Synced: 2024-06-20T11:30:33.599Z (21 days ago)
- Topics: fuzzy-search, hacktoberfest, hamming, jaro-winkler, levenshtein, metaphone, python, soundex
- Language: Jupyter Notebook
- Homepage: https://jamesturk.github.io/jellyfish/
- Size: 3.38 MB
- Stars: 2,007
- Watchers: 42
- Forks: 157
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Citation: CITATION.cff
Lists
- awesome-python - jamesturk.github.io/jellyfish
- badge.svg?count_bg=%2379C83D&edge_flat=false&icon=&icon_color=%23E7E7E7&title=hits&title_bg=%23555555&url=https%3A%2F%2Fgithub.com%2Fdylanhogg%2Fawesome-python - jamesturk.github.io/jellyfish
README
# Overview
**jellyfish** is a library for approximate & phonetic matching of strings.
Source: [https://github.com/jamesturk/jellyfish](https://github.com/jamesturk/jellyfish)
Documentation: [https://jamesturk.github.io/jellyfish/](https://jamesturk.github.io/jellyfish/)
Issues: [https://github.com/jamesturk/jellyfish/issues](https://github.com/jamesturk/jellyfish/issues)
[![PyPI badge](https://badge.fury.io/py/jellyfish.svg)](https://badge.fury.io/py/jellyfish)
[![Test badge](https://github.com/jamesturk/jellyfish/workflows/Python%20package/badge.svg)](https://github.com/jamesturk/jellyfish/actions?query=workflow%3A%22Python+package)
[![Coveralls](https://coveralls.io/repos/jamesturk/jellyfish/badge.png?branch=master)](https://coveralls.io/r/jamesturk/jellyfish)
![Test Rust](https://github.com/jamesturk/rust-jellyfish/workflows/Test%20Rust/badge.svg)## Included Algorithms
String comparison:
* Levenshtein Distance
* Damerau-Levenshtein Distance
* Jaro Distance
* Jaro-Winkler Distance
* Match Rating Approach Comparison
* Hamming DistancePhonetic encoding:
* American Soundex
* Metaphone
* NYSIIS (New York State Identification and Intelligence System)
* Match Rating Codex## Example Usage
``` python
>>> import jellyfish
>>> jellyfish.levenshtein_distance('jellyfish', 'smellyfish')
2
>>> jellyfish.jaro_similarity('jellyfish', 'smellyfish')
0.89629629629629637
>>> jellyfish.damerau_levenshtein_distance('jellyfish', 'jellyfihs')
1>>> jellyfish.metaphone('Jellyfish')
'JLFX'
>>> jellyfish.soundex('Jellyfish')
'J412'
>>> jellyfish.nysiis('Jellyfish')
'JALYF'
>>> jellyfish.match_rating_codex('Jellyfish')
'JLLFSH'
```