move documentation
jellyfish is a library for approximate & phonetic matching of strings.
Source: https://codeberg.org/jpt/jellyfish
Documentation: https://jpt.sh/projects/jellyfish/
Issues: https://codeberg.org/jpt/jellyfish/issues
String comparison:
Phonetic encoding:
>>> 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'
用于字符串比较和模糊匹配的Python库,支持多种字符串相似度算法
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
Overview
jellyfish is a library for approximate & phonetic matching of strings.
Source: https://codeberg.org/jpt/jellyfish
Documentation: https://jpt.sh/projects/jellyfish/
Issues: https://codeberg.org/jpt/jellyfish/issues
Included Algorithms
String comparison:
Phonetic encoding:
Example Usage