nol13 / fuzzball.js Goto Github PK
View Code? Open in Web Editor NEWEasy to use and powerful fuzzy string matching, port of fuzzywuzzy.
License: GNU General Public License v2.0
Easy to use and powerful fuzzy string matching, port of fuzzywuzzy.
License: GNU General Public License v2.0
Hi!
Is GPL used for this project deliberately?
We were banned from using this lib in our project by our legal team because apparently installing a package is not considered "Separate Works".
If you could reconsider a more permissive licence that would actually allow usage in a commercial project, that would be amazing!
.
Hi,
I'm working in Svelte and my line is simply:
import fuzzball from 'fuzzball'
In the console, I'm getting the error in the title and I'm not sure why.
Thes are lines 25 and 26 and 26 is where the error stems from
25: var utils = require('./lib/utils.js')(_uniq, _uniqWith, _partialRight)
26: var validate = utils.validate
Any plans to add Smith-Waterman algorithm?
Or perhaps the same outcome can be achieved using existing functionality?
Than you
{ Error: socket hang up
at TLSSocket.onHangUp (_tls_wrap.js:1124:19)
at TLSSocket.d (/.../node_modules/fuzzball/lib/difflib.js:5:18962)
at TLSSocket.f.emit (/.../node_modules/fuzzball/lib/difflib.js:5:18023)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9) code: 'ECONNRESET' }
Any idea on why this isn't loading properly? I have to use 6.10 for Lambda support...
When using extract, I'm getting Error: Invalid choices on iOS both on chrome and safari.
It some times happens on chrome desktop too but it's always happening on mobile.
Any ideas as can't seem to find much anywhere about this.
I would like to install fuzzball in angular 2 using systemjs (not require) how can I do?
Hello,
when I use extract, the returned score are not between 0 and 100 with 100 a perfect match. From what I see, it's between 0 and 1 with 0 being a perfect match.
Is it right?
$ node --use_strict test.js
/extra/ifruchte/fuzz/node_modules/fuzzball/lib/fbdifflib.js:6
floor = Math.floor, max = Math.max, min = Math.min;
^
ReferenceError: floor is not defined
Hi there,
Apologies for this question. But how do I import this lib into typescript project. I've tried:
//app.ts
import * as fuzzball from "fuzzball";
fuzzball.partial_ratio(a, b, options);
ERR:
Uncaught ReferenceError: require is not defined
at fuzzball.js?v=62d528f1:4
at fuzzball.js?v=62d528f1:1039
Your assistance is appreciated :)
Rgds,
SS
As a FYI, I'm using fuzzball.js in BigQuery as shared persistent functions:
SELECT fhoffa.x.levenshtein('felipe', 'hoffa')
, fhoffa.x.levenshtein('googgle', 'goggles')
, fhoffa.x.levenshtein('is this the', 'Is This The')
6 2 0
Fuzzy choose one:
SELECT fhoffa.x.fuzzy_extract_one('jony'
, (SELECT ARRAY_AGG(name)
FROM `fh-bigquery.popular_names.gender_probabilities`)
#, ['john', 'johnny', 'jonathan', 'jonas']
)
johnny
It is pretty rare that someone has implemented cancellation in a javascript project.
This is awesome.
In javascript, there is a standard way how to implement cancellation now.
It is called abort controller https://developer.mozilla.org/en-US/docs/Web/API/AbortController
It was shipped with node 15 and is in the current LTS version. All modern browsers are supporting it as well.
What do you think about it?
I can help you with creating the PR.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.