win-spellcheck-rs

Crates.iowin-spellcheck-rs
lib.rswin-spellcheck-rs
version1.0.1
created_at2025-05-25 13:30:36.471031+00
updated_at2025-05-25 14:53:32.492363+00
descriptiona simple wrapper around the Windows Spellchecking API
homepage
repositoryhttps://github.com/l-Luna/win-spellcheck-rs
max_upload_size
id1688367
size10,205
Luna (l-Luna)

documentation

README

a simple wrapper around the Windows Spellchecking API

usage:

let spellchecker = Spellchecker::new_en().expect("Failed to create english spellchecker!");
let text = "another one bitess the dust; another whitness blinded";
let errors = spellchecker.check(text).unwrap();
println!("{errors:?}");

// prints: [SpellingError { start: 12, length: 6, correction: Replacement("bites") }, SpellingError { start: 37, length: 8, correction: Suggestions(["whatness", "whiteness", "witness", "whitens", "whites", "whines"]) }]
Commit count: 6

cargo fmt