ryaspeller

Crates.ioryaspeller
lib.rsryaspeller
version0.1.4
sourcesrc
created_at2021-08-02 15:23:06.48159
updated_at2023-01-05 17:43:45.851783
descriptionA tool and lib for searching typos in text, files and websites
homepagehttps://github.com/oriontvv/ryaspeller/
repositoryhttps://github.com/oriontvv/ryaspeller/
max_upload_size
id430482
size1,284,571
Vasiliy Taranov (oriontvv)

documentation

https://docs.rs/ryaspeller

README

ryaspeller

Actions Status dependency status Doc Crates.io

ryaspeller (Rust Yandex Speller) is a tool and library for searching typos in text, files and websites.

Used Yandex.Speller API. (restrictions)

Installation

cargo install ryaspeller

Usage

  • binary:
$ ryaspeller "text_or_path_or_url"
$ ryaspeller russt --lang en
rust
$ ryaspeller ./doc --lang en,ru
$ ryaspeller https://team-tricky.github.io > page.html
  • library:
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.

Commit count: 146

cargo fmt