| Crates.io | ryaspeller |
| lib.rs | ryaspeller |
| version | 0.1.4 |
| created_at | 2021-08-02 15:23:06.48159+00 |
| updated_at | 2023-01-05 17:43:45.851783+00 |
| description | A tool and lib for searching typos in text, files and websites |
| homepage | https://github.com/oriontvv/ryaspeller/ |
| repository | https://github.com/oriontvv/ryaspeller/ |
| max_upload_size | |
| id | 430482 |
| size | 1,284,571 |
ryaspeller (Rust Yandex Speller) is a tool and library for searching typos in text, files and websites.
Used Yandex.Speller API. (restrictions)
cargo install ryaspeller
$ ryaspeller "text_or_path_or_url"
$ ryaspeller russt --lang en
rust
$ ryaspeller ./doc --lang en,ru
$ ryaspeller https://team-tricky.github.io > page.html
use ryaspeller::Speller;
let speller = Speller::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.