Windows spell checker using SpellCheck.net Parser


Introduction

In last article I wrote a SpellCheck.net parser with .NET regularexpressions, which is free online spell checking site, and wrap it upin"Word.dll" file. For more explanation about this parser refer to mylast article ( SpellCheck.NET Parser with C# regular expression ) Inthis article I put SpellCheck.net parser to the test with Windows FormSpell Checker application. Copy "Word.dll" and place it in a bin folderand create a reference to it within application.

How it works

Start loop through each word, if we foundreturn status "true" continue else if we found return status "false"from CheckSpelling method then break, pass the same word toGetSpellingSuggestions method, and we will get the suggestions inListBox control. By selecting from ListBox or TextBox control the wordis replaced in exact position within TextBox control. Continue thisprocess until end of string.

C# code

Source code included in zip format fordownload. And also I have included the Word.dll file, theimplementation of SpellCheck.net parser explained in last article.

Output

Download WindowsSpellChecker.zip

SpellCheck.net Parser with C#

Twitter Digg Delicious Stumbleupon Technorati Facebook Email

No comments yet... Be the first to leave a reply!