Measure the difference between two slices using the Levenshtein distance algorithm
Adapted from https://github.com/sindresorhus/leven
- Zig master
- Zigmod package manager
zigmod aq add 1/nektro/leven
pub fn leven(comptime T: type, alloc: *std.mem.Allocator, a: []const T, b: []const T, max: ?usize) !usize
TODO Unicode support for strings
MIT