diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..e8c53d2e9209c7d4118366258d444e120d21b209 --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +# zig-leven + +Measure the difference between two slices using the Levenshtein distance algorithm + +Adapted from https://github.com/sindresorhus/leven + +## Built With +- Zig master + - https://github.com/ziglang/zig +- Zigmod package manager + - https://github.com/nektro/zigmod + +## Install +``` +zigmod aq add 1/nektro/leven +``` + +## Usage +`pub fn leven(comptime T: type, alloc: *std.mem.Allocator, a: []const T, b: []const T) !usize` + +## Future +TODO Unicode support for strings + +## License +MIT