SymSpell
SymSpell copied to clipboard
SymSpell: 1 million times faster spelling correction & fuzzy search through Symmetric Delete spelling correction algorithm
This PR may add the ability to skip spell checking for a term that meets a certain condition. For example, we can provide a regular expression for numbers, abbreviations, or...
The following code demonstrates a NullReferenceException when invoking CommitStaged: ``` public void SymSpellTest() { // Demonstrates a problem in SymSpell. var spell = new SymSpell(); var stage = new SymSpell.SuggestionStage(10);...
In the following function: ``` private HashSet Edits(string word, int editDistance, HashSet deleteWords) { editDistance++; if (word.Length > 1) { for (int i = 0; i < word.Length; i++) {...