Skip to content

Approximate string matching library implemented in Go language

License

Notifications You must be signed in to change notification settings

abhabongse/fuzzymatch-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fuzzy Match

pkg.go.dev reference

This repository contains a Go language implementation of approximate string matching algorithms.

Preset functions

Inside the package github.com/abhabongse/fuzzymatch-go/factory/preset, there are three examples of preset string similarity score functions with different customizations:

All of these functions have output values between 0 and 1 (inclusive), where 1 indicates that both input strings are identical under some criteria and 0 indicates that both strings are totally distinct. The signature of these functions is

func(string, string) float64

Customization

New string similarity score functions may be constructed via various higher-order functions provided in this module. Look at the construction of the preset functions above for some ideas of how to introduce addition functionalities to your string similarity score functions.

Notes

All source code for this project is released under the GNU Lesser General Public License v3.0.

About

Approximate string matching library implemented in Go language

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages