fuzzywuzzy
shortuuid
Our great sponsors
fuzzywuzzy | shortuuid | |
---|---|---|
20 | 5 | |
9,067 | 1,975 | |
0.0% | - | |
0.0 | 0.8 | |
about 1 year ago | about 1 year ago | |
Python | Python | |
GNU General Public License v2.0 only | BSD 3-clause "New" or "Revised" License |
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.
fuzzywuzzy
-
Need help solving a subtitles problem. The logic seems complex
Do fuzzy matching (something like fuzzywuzzy maybe) to see if the the words line up (allowing for wrong words). You'll need to work out how to use scoring to work out how well aligned the two lists are.
-
Thanks to this sub, we now have an Anki deck for Persona 5 Royal. Spreadsheet with Jp and Eng side by side too.
Convert the original lines to full furigana and do a fuzzy match. (For reference, the original line is 貴方がこれまでに得てきた力、存分に発揮してくださいね。) You can do a regional search using the initial scene data (E60) first, and if the confidence is low, go for a slower full search.
-
Fuzzy search
It's now known as "thefuzz", see https://github.com/seatgeek/fuzzywuzzy
-
import fuzzywuzzy
fuzzywuzzy is actually just called the thefuzz now.
-
I made a bot that stops muck chains, here are the phrases that he looks for to flag the comment as a muck comment. Are there any muck forms I forgot about?
You can have a look at this library to use fuzzy search instead of looking for plaintext muck: https://github.com/seatgeek/fuzzywuzzy
- Test if two strings are similar?
-
How would you approach this
To deal with comparing the string, I found FuzzyWuzzy ratio function that is returning a score of how much the strings are similar from 0-100.
- [D] Matching Records that "don't Exactly Match"
- Text Detection
- FuzzyWuzzy: Fuzzy String Matching in Python
shortuuid
-
Ask HN: Could you show your personal blog here?
Unlike many people here, I don't like to write hundreds of mediocre posts. Instead, I prefer very few posts, that unfortunately are still mediocre.
If you're tired of all the perfection that exists on the internet, where every piece is deeply insightful and changes your life, I'd encourage you to read my articles, which only promise to shorten it:
https://www.stavros.io/
-
Short, friendly base32 slugs from timestamps
I use shortuuid[0] for that stuff, which also omits the capital letter I, and has some other niceties (I wrote the library). It works really well, and I like how small the IDs are.
[0] https://github.com/skorokithakis/shortuuid
- Ask HN: What are your favorite personal sites?
-
Building a Micro Business: What Services I Pay For
skorokithakis: developer of django-annoying and shortuuid
-
GUIDs Are Not the Only Answer
https://github.com/skorokithakis/shortuuid#usage
What are some alternatives?
jellyfish - 🪼 a python library for doing approximate and phonetic matching of strings.
pangu.py - Paranoid text spacing in Python
thefuzz - Fuzzy String Matching in Python
chardet - Python character encoding detector
Levenshtein - The Levenshtein Python C extension module contains functions for fast computation of Levenshtein distance and string similarity
ftfy - Fixes mojibake and other glitches in Unicode text, after the fact.
uniout - Never see escaped bytes in output.
TextDistance - 📐 Compute distance between sequences. 30+ algorithms, pure python implementation, common interface, optional external libs usage.
Charset Normalizer - Truly universal encoding detector in pure Python
json-streamer - A fast streaming JSON parser for Python that generates SAX-like events using yajl