cmdline: add jaro-winkler string measuring implementation
to be used with suggestion matching. this implementation is based upon the implementation from the `strsim` Rust crate, authored by Danny Guo, available at [1]; more specifically the (as yet un-merged) optimised copy authored by myself, available at [2]. the code is available under the MIT license. one implementation difference is that we use floats rather than doubles since we only intend to use this for suggestion matching in unknown option error messages and we don't need the extra precision. [1]: https://github.com/dguo/strsim-rs [2]: https://github.com/dguo/strsim-rs/pull/31
Showing
src/config/jaro_winkler.c
0 → 100644
src/config/vlc_jaro_winkler.h
0 → 100644
src/test/jaro_winkler.c
0 → 100644
Please register or sign in to comment