Comments (3)
You need to import the package fuzzy:
go mod tidy
go get github.com/lithammer/fuzzysearch/fuzzy
Then, in your code:
import "github.com/lithammer/fuzzysearch/fuzzy"
fuzzy.RankFind(...)
from fuzzysearch.
Please @lithammer complete the README with the previous message from @Boulet-
from fuzzysearch.
Sorry, I had completely missed this issue. Hopefully GH-29 addresses your issues.
from fuzzysearch.
Related Issues (20)
- RankFind does not use Levenshtein distance to build results HOT 6
- Introduce gopkg support HOT 2
- new type for targets HOT 2
- Expose Normalize function
- RankMatch seems to be broken HOT 3
- Document differences with bevacqua/fuzzysearch HOT 1
- Add case insensitive RankFind HOT 2
- New Release + upgrade to go 1.18. HOT 5
- Unecessary alocations due to transformer.Nop HOT 2
- Exact match mode?
- Change LevenshteinDistance to Damerau–Levenshtein distance? HOT 4
- Using MaxInt instead of -1
- Consider implementing support of multi-byte character sets HOT 4
- Use of CMOV instruction in Levenshtein's minimum function HOT 1
- mishandling of utf8 replacement character HOT 2
- support a method for returning matched indices for characters
- support match for reversed words
- panic in transform.go when it's trying to reslice HOT 2
- Case insensetivity HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuzzysearch.