Automatic spelling correction

Aspose.OCR for .NET can automatically replace commonly misspelled words in recognition results with the correct ones. This functionality supports the following languages:

Value Language
Aspose.OCR.SpellChecker.SpellCheckLanguage.Cze Czech
Aspose.OCR.SpellChecker.SpellCheckLanguage.Dan Danish
Aspose.OCR.SpellChecker.SpellCheckLanguage.Deu German
Aspose.OCR.SpellChecker.SpellCheckLanguage.Dum Dutch
Aspose.OCR.SpellChecker.SpellCheckLanguage.Eng English
Aspose.OCR.SpellChecker.SpellCheckLanguage.Est Estonian
Aspose.OCR.SpellChecker.SpellCheckLanguage.Fin Finnish
Aspose.OCR.SpellChecker.SpellCheckLanguage.Fra French
Aspose.OCR.SpellChecker.SpellCheckLanguage.Ita Italian
Aspose.OCR.SpellChecker.SpellCheckLanguage.Lav Latvian
Aspose.OCR.SpellChecker.SpellCheckLanguage.Lit Lithuanian
Aspose.OCR.SpellChecker.SpellCheckLanguage.Pol Polish
Aspose.OCR.SpellChecker.SpellCheckLanguage.Por Portuguese
Aspose.OCR.SpellChecker.SpellCheckLanguage.Rum Romanian
Aspose.OCR.SpellChecker.SpellCheckLanguage.Slk Slovak
Aspose.OCR.SpellChecker.SpellCheckLanguage.Slv Slovene
Aspose.OCR.SpellChecker.SpellCheckLanguage.Spa Spanish
Aspose.OCR.SpellChecker.SpellCheckLanguage.Swe Swedish

Spell checking is done on the fly, either on output or on saving the results:

Spelling correction of any text

You can also correct misspelled words in any text string using CorrectSpelling method of Aspose.OCR.AsposeOcr class:

string text = "Die schönste Jungfrau sitzet dort oben wunderbar";
string correctedText = recognitionEngine.CorrectSpelling(text, Aspose.OCR.SpellChecker.SpellCheckLanguage.Deu);
Console.WriteLine(correctedResult);