spelling 0.2.1

A spellchecker using the Levenshtein distance as the heuristic for distance.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# spelling
A spellchecker written in rust.
# How to use
```rust
use spelling::spellcheck;

fn main() {
    let dictionary_string = include_str!("words.txt"); // newline separated 
    spellcheck(dictionary_string, "restaraunt", 3);
}
```

# Details
This uses the [Levenshtein distance](https://en.wikipedia.org/wiki/Levenshtein_distance) as the heuristic for distance.