TextDistance
📐 Compute distance between sequences. 30+ algorithms, pure python implementation, common interface, optional external libs usage. (by life4)
jellyfish
🪼 a python library for doing approximate and phonetic matching of strings. (by jamesturk)
Our great sponsors
TextDistance | jellyfish | |
---|---|---|
6 | 3 | |
3,300 | 1,990 | |
0.8% | - | |
6.1 | 6.8 | |
2 days ago | 29 days ago | |
Python | Jupyter Notebook | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
TextDistance
Posts with mentions or reviews of TextDistance.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-10.
- textdistance: Compute distance between sequences. 30+ algorithms, pure python implementation, common interface, optional external libs usage.
-
Near duplicate image detection
Now let's compare the hash to all the image hashes using Levenshtein distance. We'll use the textdistance library for that.
- life4/textdistance: Compute distance between sequences. 30+ algorithms, pure python implementation, common interface, optional external libs usage.
- Textdistance: Compute distance between sequences with 30 algorithms
jellyfish
Posts with mentions or reviews of jellyfish.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-11.
-
Python Libraries
For sounds something like https://github.com/jamesturk/jellyfish ?
-
Comparing Strings (Street Names) With Machine Learning
When comparing strings (in our case street names), there are plenty of off-the-shelf features that can be used, such as those provided by the jellyfish. This package also provides a number of phonetic encodings. We can combine an encoding with a metric, such as Levenshtein Distance, to measure the phonetic similarity between two street names.
-
How to match names which differ slightly?
You can use a library like jellyfish which implements a bunch of string comparison algorithms, you'd just have to experiment and see which one gives the best results for you. I think I've had the best luck with Jaro-Winkler, then looking at the % match result and picking a cutoff above which I have good confidence that the match is real. It's still not perfect, and I really don't see how your last example would work with just about any automated comparison.
What are some alternatives?
When comparing TextDistance and jellyfish you can also consider the following projects:
fuzzywuzzy - Fuzzy String Matching in Python
Levenshtein - The Levenshtein Python C extension module contains functions for fast computation of Levenshtein distance and string similarity
pydantic - Data validation using Python type hints
Pygments
Python Left-Right Parser - Python Parser
ceja - PySpark phonetic and string matching algorithms
汉字拼音转换工具(Python 版) - 汉字转拼音(pypinyin)
nider - Python package to add text to images, textures and different backgrounds
TextDistance vs fuzzywuzzy
jellyfish vs fuzzywuzzy
TextDistance vs Levenshtein
jellyfish vs Levenshtein
TextDistance vs pydantic
jellyfish vs Pygments
TextDistance vs Python Left-Right Parser
jellyfish vs ceja
TextDistance vs ceja
jellyfish vs 汉字拼音转换工具(Python 版)
TextDistance vs nider
jellyfish vs pydantic