/
View dependency graph
Depends on
- dh-python (dh-sequence-python3, pybuild-plugin-pyproject)
- mkdocs-material (mkdocs-material)
- pymdown-extensions (python3-pymdownx)
- pytest (python3-pytest)
- python-maturin (python3-maturin)
- python3-defaults (python3-all-dev)
- rust-pyo3 (librust-pyo3-dev)
- cargo, debhelper-compat, librust-ahash-dev, librust-csv-dev, librust-smallvec-dev, librust-unicode-normalization-dev, librust-unicode-segmentation-dev
Used by
README (full)
Overview
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
Included Algorithms
String comparison:
- Levenshtein Distance
- Damerau-Levenshtein Distance
- Jaccard Index
- 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('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'
| dir | .github/ |
| dir | benchmarks/ |
| dir | debian/ |
| dir | docs/ |
| dir | python/ |
| dir | src/ |
| dir | testdata/ |
| dir | tests/ |
| file | .coveragerc |
| file | .gitignore |
| file | .pre-commit-config.yaml |
| file | CITATION.cff |
| file | Cargo.lock |
| file | Cargo.toml |
| file | Justfile |
| file | LICENSE |
| file | PKG-INFO |
| file | README.md |
| file | mkdocs.yml |
| file | pyproject.toml |
| file | run-cov.sh |
