pluots / zspell

A spellchecking library and executable written in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestion Implementation

tgross35 opened this issue · comments

Ported from #10

We need to decide on a library framework for suggestions

My thought is something like the following:

fn check_with_suggestions(s: &str) -> Suggestions

enum Suggestions {
    Correct
    Incorrect(Vec<String>)
}

Closing in favor of the more detailed #45