Function to measure similarity between strings?

I think I saw a function somewhere in the stdlib that measures the similarity between strings but I fail to find it now. Id be glad if someone either tells me its not there or tells me how its called.

Not sure about in std, but these might help levenshtein distance implementation in zig · GitHub GitHub - nektro/zig-leven: Measure the difference between two slices using the Levenshtein distance algorithm

2 Likes

Thank you for the link!
How is this code licensed? Can I just copy it without any license or ???

I will close this for now as I dont wanna waste anyones time.

The second link: GitHub - nektro/zig-leven: Measure the difference between two slices using the Levenshtein distance algorithm
is MIT licensed.

The first link is not licensed for any use.

2 Likes