Expand description
This implementation is derived from the Rust compiler (“rustc”), specifically from: https://github.com/rust-lang/rust/blob/3b022d8ceea570db9730be34d964f0cc663a567f/compiler/rustc_span/src/edit_distance.rs
The Rust compiler is dual-licensed under the Apache License, Version 2.0 and the MIT license. See the LICENSE-* files and COPYRIGHT file in this repository for details.
This project is likewise dual-licensed under Apache-2.0 OR MIT, at your option.
Functions§
- edit_
distance - Finds the edit distance between two strings.
- edit_
distance_ with_ substrings - find_
best_ match_ for_ name - find_
best_ match_ for_ name_ impl