Closed janga1997 closed 4 years ago
ahh. Never Mind. Spoke too soon.
Sorry, reopening as my issue wasn't solved. Its my understanding that Bitap is primarily used to approximately search a string in a larger string, forming the basis for agrep.
But Fuse.js' functionality primarily is to find approx. matches in an array of strings.
Could I use the existing module's Fuse/Bitap functions for the approximate substring search problem?
You would have to import the bitap implementation directly
That is:
let bitap = require('fuse.js/bitap')
or something to that effect.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
I need to use the Bitap's implementation in this module on its own, without relying on Fuse. Or with. However I can. Is there a way to reference Bitaps' functions implemented in this library?