strings

package
v0.53.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package strings is used to provide some util string functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Levenshtein

func Levenshtein(str1, str2 string) int

Levenshtein is used to compare the number of changes required to convert the string from one to another

func StringSimilarityRatio

func StringSimilarityRatio(str1, str2 string) float64

StringSimilarityRatio is used to find the ratio of similarity between two strings using the Levenshtein algorithm below

Types

This section is empty.

Jump to

Keyboard shortcuts

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