Registry / utility / sajari-fuzzy

sajari-fuzzy

JSON →
library1.0.0gogounverified

A Go library for fuzzy string matching and search, providing Levenshtein distance and other algorithms.

go get github.com/sajari/fuzzy
INSTALL
IMPORT
SIG · SAJARI-FUZZY
S
sajari-fuzzy
utilitygov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fuzzy
github.com/sajari/fuzzy

Trains a fuzzy model and corrects a misspelled word.

package main import ( "fmt" "github.com/sajari/fuzzy" ) func main() { model := fuzzy.NewModel() model.SetThreshold(1) model.SetDepth(5) model.Train([]string{"hello", "world"}) result := model.SpellCheck("helo") fmt.Println("Suggestion:", result) }
Debug
Known issues
breakingThis package is deprecated and may be removed in the future.
fix
Consider using alternatives like github.com/lithammer/fuzzysearch or github.com/sahilm/fuzzy.
affects: >=1.0.0
Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
sajari-fuzzy — go get sajari-fuzzy · libregistry