-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
It may be good to provide a SuggestionConfig or similar struct that could be passed as an argument to our .suggest function (or similar). There are some different functionalities we could use:
- REP: simple replacements bassed on the affix config file
- Phonetic replacements from the affix config file. These seem more rare and are likely only useful for text to speech
- Levenshtein distance
- TryChars just sample with one different
Possible API (from #16)
fn check_with_suggestions(&self, s: &str) -> Suggestions
enum Suggestions {
Correct
Incorrect(Vec<&str>)
}Metadata
Metadata
Assignees
Labels
No labels