levenshtein

package
v0.0.0-...-692212b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Distance

func Distance(sstr, tstr string) int

Distance calc the strings distance between sstr and tstr

func DistanceCI

func DistanceCI(sstr, tstr string) int

DistanceCI calc the strings distance between sstr and tstr, case insensitive.

func DistanceFunc

func DistanceFunc(sstr, tstr string, equal func(a, b rune) bool) int

DistanceFunc calc the strings distance between sstr and tstr, use function to determine if characters is equal.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL