commit | 2ebc2c647eafce3036d12814b0247cdd55e0be4d | [log] [tgz] |
---|---|---|
author | Martino Mensio <martino.mensio@open.ac.uk> | Tue Apr 11 00:19:05 2023 +0200 |
committer | GitHub <noreply@github.com> | Mon Apr 10 18:19:05 2023 -0400 |
tree | 522699412fa687130aa90e5649848c287e3081b7 | |
parent | 0e87da2c28181560df3050e96b025191aec481d0 [diff] |
fixed python 3.11 on musllinux (#184)
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('jellyfish', 'smellyfish') 2 >>> jellyfish.jaro_distance('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'