Visitar URL original
GitHub - nektro/zig-leven: Measure the difference between two slices using the Levenshtein distance algorithm · GitHub
Skip to content
nektroPublic

About

Measure the difference between two slices using the Levenshtein distance algorithm

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Latest commit

 

History

28 Commits

Folders and files

Repository files navigation

zig-leven

loc license nektro @ github sponsors Zig Zigmod

Measure the difference between two slices using the Levenshtein distance algorithm

Adapted from https://github.com/sindresorhus/leven

Usage

pub fn leven(comptime T: type, alloc: *std.mem.Allocator, a: []const T, b: []const T, max: ?usize) !usize

Future

TODO Unicode support for strings

About

Measure the difference between two slices using the Levenshtein distance algorithm

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages