m31coding / fuzzy-search Goto Github PK
View Code? Open in Web Editor NEWA fast, accurate and multilingual fuzzy search library for the frontend.
License: MIT License
A fast, accurate and multilingual fuzzy search library for the frontend.
License: MIT License
Following the HN article, quickly tried the demo on the places set but came up with weird results:
How come a result that doesn't match the input string gets a better quality score than the one that includes the entry ?
And how come another one not maching is having the same score just below it ?
If it's due to length having a closer match, I then don't understand the advantage for making it real time ? (If I need to type my string almost entirely to make my targeted result come up in the visible list, then "time gained" by indeed good performances is already lost)
But anyway, performances are very good indeed, just trying to figure out the use case.
hey @m31coding!
great to see someone else working on a better fuzzy search :) i found this project on HN.
i've added it to the uFuzzy demo/bench in leeoniya/uFuzzy@5ebe1ba.
indexing the 4MB haystack takes ~1400ms. after that, giving it a quick try with the term "twilight", the results are missing or mis-ranking many exact matches? or perhaps i'm just holding it wrong ๐ ?
cheers! ๐ป
https://leeoniya.github.io/uFuzzy/demos/compare.html?libs=uFuzzy,fuzzy-search&search=twilight
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.