fuzzball.js

Easy to use and powerful fuzzy string matching, port of fuzzywuzzy. (by nol13)

Fuzzball.js Alternatives

Similar projects and alternatives to fuzzball.js based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better fuzzball.js alternative or higher similarity.

fuzzball.js reviews and mentions

Posts with mentions or reviews of fuzzball.js. We have used some of these posts to build our list of alternatives and similar projects.
  • Unlocking Advanced RAG: Citations and Attributions
    1 project | dev.to | 29 Jan 2024
    import { ratio, } from 'fuzzball'; import { SequenceMatcher } from 'difflib'; // modified from: https://github.com/nol13/fuzzball.js/blob/773b82991f2bcacc950b413615802aa953193423/fuzzball.js#L942 function partial_ratio(str1: string, str2: string) { if (str1.length <= str2.length) { var shorter = str1 var longer = str2 } else { var shorter = str2 var longer = str1 } var m = new SequenceMatcher(null, shorter, longer); var blocks = m.getMatchingBlocks(); let bestScore: number = 0; let bestMatch: string | null = null let bestStartIdx: number = -1 for (var b = 0; b < blocks.length; b++) { var long_start = (blocks[b][1] - blocks[b][0]) > 0 ? (blocks[b][1] - blocks[b][0]) : 0; var long_end = long_start + shorter.length; var long_substr = longer.substring(long_start,long_end); var r = ratio(shorter,long_substr); if (r > bestScore) { bestScore = r; bestMatch = long_substr; bestStartIdx = long_start; } if (r > 99.5) { break; } } return { bestMatch, bestScore, bestStartIdx, } }
  • I'm thinking of making a search tool to find Dunkey quotes. Here is a very early prototype. More details in comment.
    1 project | /r/videogamedunkey | 15 Apr 2022
    I’ve been using the fuzzball package for the search algorithm in my current project. It might be able to help with matching non-exact strings

Stats

Basic fuzzball.js repo stats
2
494
4.5
8 days ago

nol13/fuzzball.js is an open source project licensed under GNU General Public License v3.0 only which is an OSI approved license.

The primary programming language of fuzzball.js is JavaScript.

The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com