TextDistance
📐 Compute distance between sequences. 30+ algorithms, pure python implementation, common interface, optional external libs usage. (by life4)
Levenshtein
The Levenshtein Python C extension module contains functions for fast computation of Levenshtein distance and string similarity (by ztane)
Our great sponsors
TextDistance | Levenshtein | |
---|---|---|
6 | 2 | |
3,300 | 1,239 | |
0.7% | - | |
6.1 | 0.0 | |
about 20 hours ago | over 2 years ago | |
Python | C | |
MIT License | GNU General Public License v2.0 or later |
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
Levenshtein
Posts with mentions or reviews of Levenshtein.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-28.
-
Is it possible on Python?
Yeah my hunch is that a combination of nltk, python-Levenshtein, numpy for language processing, pandas for gathering results and scrapy for web scraping should make it possible. Sadly such a project probably requires at least a month or two worth of training in Python to prototype. Good luck OP.
-
Four Useful Python Libraries You Don't Know About
I've used fuzzy-wuzzy and it is pretty slow if you can't install python-Levenshtein (which I couldn't, though I don't remember why). I ended up uninstalling it and using a custom matching algorithm for search in my app.
What are some alternatives?
When comparing TextDistance and Levenshtein you can also consider the following projects:
jellyfish - 🪼 a python library for doing approximate and phonetic matching of strings.
fuzzywuzzy - Fuzzy String Matching in Python
pydantic - Data validation using Python type hints
chardet - Python character encoding detector
Python Left-Right Parser - Python Parser
shortuuid - A generator library for concise, unambiguous and URL-safe UUIDs.
ceja - PySpark phonetic and string matching algorithms
Charset Normalizer - Truly universal encoding detector in pure Python
nider - Python package to add text to images, textures and different backgrounds
xpinyin - Translate Chinese hanzi to pinyin (拼音) by Python, 汉字转拼音
TextDistance vs jellyfish
Levenshtein vs fuzzywuzzy
TextDistance vs fuzzywuzzy
Levenshtein vs jellyfish
TextDistance vs pydantic
Levenshtein vs chardet
TextDistance vs Python Left-Right Parser
Levenshtein vs shortuuid
TextDistance vs ceja
Levenshtein vs Charset Normalizer
TextDistance vs nider
Levenshtein vs xpinyin