thefuzz VS google-research

Compare thefuzz vs google-research and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
thefuzz google-research
10 98
2,479 32,863
3.5% 0.9%
6.2 9.6
2 months ago 6 days ago
Python Jupyter Notebook
MIT License Apache License 2.0
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.

thefuzz

Posts with mentions or reviews of thefuzz. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-11.
  • File Path Issue
    1 project | /r/learnpython | 17 Jun 2023
    probbaly can use https://github.com/seatgeek/thefuzz
  • [Flask] Best / Modern approaches for fuzzy name searching?
    2 projects | /r/learnpython | 11 Jan 2023
    Check out https://github.com/seatgeek/thefuzz. It basically provides different methods that take two strings and return a score between 0 and 100 indicating how similar they are. For instance,
  • How to identify duplicate crawl data?
    1 project | /r/webscraping | 21 Nov 2022
    Consider something like Levenshtein distance and one of it's implementations like thefuzz.
  • Find best match between a reference string and a list of strings
    1 project | /r/pythontips | 13 Nov 2022
  • NLP: How to rebuild a name from letters
    1 project | /r/computerscience | 12 Oct 2022
    The problem you are solving is most commonly called “fuzzy string matching”. There are a bunch of algorithms for it (some of which are described in this thread) depending on your specific requirements. I’d start with an existing fuzzy string matching library (e.g. thefuzz, for python) and calculate matches between your input letter cases and your list of names. This sounds pretty reasonable to do fast since fuzzy string matching is commonly used in text editors to make it easier to find files. If you start with a fuzzy string matching library, I wouldn’t worry about asymptomatic complexity until you actually see a performance problem.
  • Is there a Python library that lets me search through a list like searching with a search engine?
    1 project | /r/learnprogramming | 31 Aug 2022
    You probably want a package that can do fuzzy matching. The first search result for me turned up this: https://github.com/seatgeek/thefuzz
  • How good is my summary?
    2 projects | /r/LanguageTechnology | 13 May 2022
    Having said that, you can use the Levenshtein distance to compute how many "edits" (substitutions, deletions, insertions) the generated summary is away from the original abstract. The package TheFuzz implements this concept in Python. For example fuzz.ratio(text1, text2) will give you a similarity score.
  • import fuzzywuzzy
    3 projects | /r/ProgrammerHumor | 22 Feb 2022
    fuzzywuzzy is actually just called the thefuzz now.
  • Bad word filter?
    1 project | /r/learnpython | 20 Dec 2021
    It sounds like what you're looking for is "fuzzy string matching," which is not just checking if a string matches another exactly, but defining a way to measure "how close" a string is to another. Luckily, it looks like there's a good Python library for that already: https://github.com/seatgeek/thefuzz
  • Extracting information from scanned PDF docs, is it possible?
    2 projects | /r/learnpython | 6 Oct 2021
    Finally, even though Tesseract's output is usually very nice, it can sometime make a mistake. Again, this is case-specific, and if you're extracting for example numbers, it will be very hard to check for errors, but since I'm extracting names, I'm capable of fuzzy comparing the names detected by Slavic NER to a database of names that I have. I do this fuzzy matching with thefuzz library, and in cases I find a very high match with one of the names in my database, I simply fix the error by taking the name from there.

google-research

Posts with mentions or reviews of google-research. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-10.
  • Show HN: Next-token prediction in JavaScript – build fast LLMs from scratch
    11 projects | news.ycombinator.com | 10 Apr 2024
    People on here will be happy to say that I do a similar thing, however my sequence length is dynamic because I also use a 2nd data structure - I'll use pretentious academic speak: I use a simple bigram LM (2-gram) for single next-word likeliness and separately a trie that models all words and phrases (so, n-gram). Not sure how many total nodes because sentence lengths vary in training data, but there are about 200,000 entry points (keys) so probably about 2-10 million total nodes in the default setup.

    "Constructing 7-gram LM": They likely started with bigrams (what I use) which only tells you the next word based on 1 word given, and thought to increase accuracy by modeling out more words in a sequence, and eventually let the user (developer) pass in any amount they want to model (https://github.com/google-research/google-research/blob/5c87...). I thought of this too at first, but I actually got more accuracy (and speed) out of just keeping them as bigrams and making a totally separate structure that models out an n-gram of all phrases (e.g. could be a 24-token long sequence or 100+ tokens etc. I model it all) and if that phrase is found, then I just get the bigram assumption of the last token of the phrase. This works better when the training data is more diverse (for a very generic model), but theirs would probably outperform mine on accuracy when the training data has a lot of nearly identical sentences that only change wildly toward the end - I don't find this pattern in typical data though, maybe for certain coding and other tasks there are those patterns though. But because it's not dynamic and they make you provide that number, even a low number (any phrase longer than 2 words) - theirs will always have to do more lookup work than with simple bigrams and they're also limited by that fixed number as far as accuracy. I wonder how scalable that is - if I need to train on occasional ~100-word long sentences but also (and mostly) just ~3-word long sentences, I guess I set this to 100 and have a mostly "undefined" trie.

    I also thought of the name "LMJS", theirs is "jslm" :) but I went with simply "next-token-prediction" because that's what it ultimately does as a library. I don't know what theirs is really designed for other than proving a concept. Most of their code files are actually comments and hypothetical scenarios.

    I recently added a browser example showing simple autocomplete using my library: https://github.com/bennyschmidt/next-token-prediction/tree/m... (video)

    And next I'm implementing 8-dimensional embeddings that are converted to normalized vectors between 0-1 to see if doing math on them does anything useful beyond similarity, right now they look like this:

      [nextFrequency, prevalence, specificity, length, firstLetter, lastLetter, firstVowel, lastVowel]
  • Google Research website is down
    1 project | news.ycombinator.com | 5 Apr 2024
  • Jpegli: A New JPEG Coding Library
    9 projects | news.ycombinator.com | 3 Apr 2024
    The change was literally just made: https://github.com/google-research/google-research/commit/4a...

    It appears this was in response to Hacker News comments.

  • Multi-bitrate JPEG compression perceptual evaluation dataset 2023
    1 project | news.ycombinator.com | 31 Jan 2024
  • Vector Databases: A Technical Primer [pdf]
    7 projects | news.ycombinator.com | 12 Jan 2024
    There are options such as Google's ScaNN that may let you go farther before needing to consider specialized databases.

    https://github.com/google-research/google-research/blob/mast...

  • Labs.Google
    1 project | news.ycombinator.com | 22 Dec 2023
    I feel it was unnecesary to create this because https://research.google/ already exists? It just seems like they want to take another URL with a "pure" domain name instead of psubdirectories, etc parts.
  • Smerf: Streamable Memory Efficient Radiance Fields
    3 projects | news.ycombinator.com | 13 Dec 2023
    https://github.com/google-research/google-research/blob/mast...
  • Shisa 7B: a new JA/EN bilingual model based on Mistral 7B
    2 projects | /r/LocalLLaMA | 7 Dec 2023
    You could also try some dedicated translation models like https://huggingface.co/facebook/nllb-moe-54b (or https://github.com/google-research/google-research/tree/master/madlad_400 for something smaller) and see how they do.
  • Translate to and from 400+ languages locally with MADLAD-400
    1 project | /r/LocalLLaMA | 10 Nov 2023
    Google released T5X checkpoints for MADLAD-400 a couple of months ago, but nobody could figure out how to run them. Turns out the vocabulary was wrong, but they uploaded the correct one last week.
  • Mastering ROUGE Matrix: Your Guide to Large Language Model Evaluation for Summarization with Examples
    2 projects | dev.to | 8 Oct 2023

What are some alternatives?

When comparing thefuzz and google-research you can also consider the following projects:

fuzzywuzzy - Fuzzy String Matching in Python

qdrant - Qdrant - High-performance, massive-scale Vector Database for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/

RapidFuzz - Rapid fuzzy string matching in Python using various string metrics

fast-soft-sort - Fast Differentiable Sorting and Ranking

Slavic-BERT-NER - Shared BERT model for 4 languages of Bulgarian, Czech, Polish and Russian. Slavic NER model.

faiss - A library for efficient similarity search and clustering of dense vectors.

xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.

ml-agents - The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.

fzf - :cherry_blossom: A command-line fuzzy finder

Milvus - A cloud-native vector database, storage for next generation AI applications

struct2depth - Models and examples built with TensorFlow

bootcamp - Dealing with all unstructured data, such as reverse image search, audio search, molecular search, video analysis, question and answer systems, NLP, etc.