Skip to content

frogtd/spelling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spelling

A spellchecker written in rust.

How to use

use spelling::spellcheck;

let dictionary_string = include_str!("words.txt"); // newline separated 
spellcheck(dictionary_string, "restaraunt", 3);

If you can't use rayon use default-features = false in your Cargo.toml.

[dependencies]
spelling = { version = "2.2", default-features = false }

Details

This uses the Levenshtein distance as the heuristic for distance.

About

A spellchecker written in rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages