authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-07-26 23:56:57 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-07-26 23:56:57 -07:00
log2c64271ce793bcb904ad2f93eeefb4840cbac012
treeea6bd588d359e5908bb0913810c09919f47e05fd
parenta99e48702e92335a0b26c15fb3e5b31afc0ea7a7

add README


1 files changed, 25 insertions(+), 0 deletions(-)

README.md created+25
...@@ -0,0 +1,25 @@
1# zig-leven
2
3Measure the difference between two slices using the Levenshtein distance algorithm
4
5Adapted from https://github.com/sindresorhus/leven
6
7## Built With
8- Zig master
9 - https://github.com/ziglang/zig
10- Zigmod package manager
11 - https://github.com/nektro/zigmod
12
13## Install
14```
15zigmod aq add 1/nektro/leven
16```
17
18## Usage
19`pub fn leven(comptime T: type, alloc: *std.mem.Allocator, a: []const T, b: []const T) !usize`
20
21## Future
22TODO Unicode support for strings
23
24## License
25MIT