simsearch
A simple and lightweight fuzzy search engine that works in memory, searching for similar strings (a pun here).
Add the following to your Cargo.toml
:
toml
[dependencies]
simsearch = "0.2"
```rust use simsearch::SimSearch;
let mut engine: SimSearch
engine.insert(1, "Things Fall Apart"); engine.insert(2, "The Old Man and the Sea"); engine.insert(3, "James Joyce");
let results: Vec
assert_eq!(results, &[1]); ```
Also try the interactive demo by:
$ cargo run --release --example books
All kinds of contribution are welcomed.
Licensed under MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)