ryaspeller (Rust Yandex Speller) is a tool and library for searching typos in text, files and websites.
Used Yandex.Speller API. (restrictions)
bash
cargo install ryaspeller
bash
$ ryaspeller "text_or_path_or_url"
$ ryaspeller russt --lang en
rust
$ ryaspeller ./doc --lang en,ru
$ ryaspeller https://team-tricky.github.io > page.html
let speller = Speller::new(Config::default()); let spelled = speller.spell_text("Triky Custle is a funny puzzle game.").unwrap(); assert!(spelled == "Tricky Castle is a funny puzzle game."); ```
Also there are available python and javascript versions of this speller.