Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Acknowledgements

The fuzzy automaton is based on the research paper Fuzzified Aho–Corasick Search Automata by Zdeněk Horák, Václav Snášel, Ajith Abraham, and Aboul Ella Hassanien (IAS 2010).

The crate adapts the paper’s core idea — a fuzzified Aho–Corasick automaton with a similarity-aware transition model — into an additive, length-normalized scoring scheme with per-edit-type penalties and limits, and extends it with transpositions, multi-character mappings, the weakest-link floor, streaming, and a bit-parallel pre-filter. The How It Works chapter describes the resulting engine.

License

The crate is distributed under the MIT License. See the LICENSE file for details.

Contributing

Issues and pull requests are welcome on GitHub. The test suite (cargo test), Clippy (cargo clippy --all-targets -- -D warnings), and formatting (cargo fmt --all -- --check) all run in CI; running them locally before opening a PR keeps the loop fast.