Text Spelling Library for .NET and COM

A simple text spelling library for .NET framework and COM applications.


Simple Text Spelling for .NET framework applications

A simple way to check any text for spelling errors and receive spelling suggestions in .NET and COM based applications (VB6, VFP etc..).

Multi-Lingual Spell Checking

The DLL is multi-lingual spelling library for text strings, providing spell checking in every language the user has installed on the their PC (and it defaults to their default language). It utilizes the in-built spelling capabilities  of  Windows 8, 8.1 and Windows 10 and because of this spell checking is limited only by the Windows language packs end-users have installed on their PC's.

NET and COM (ActiveX) compatible

The DLL is written in .NET however it is exposed to COM so it be used in VB6, VFP and other COM based programming environments. The installer registers a COM accessible type-library on installation. In your COM enabled environment simply add a reference to "TextSpelling".

Example Usage

Download the installation package using the "Download" button at the top of the page (it also contains examples in C#, VB.NET, and VB6)

For example;

oSpell.LanguageTag = "SystemDefaultLanguage"; // "en-US" "en-GB" "de-DE" "fr-FR" "es-ES"
ListView1.Items.Clear();

foreach (Zoople.Win8Spelling.SuggestionsAndRanges oSug in oSpell.GetSuggestionsForSentence(this.TextBox1.Text))
{
       ListViewItem oItem = this.ListView1.Items.Add(new ListViewItem(oSug.Word));
       oItem.SubItems.Add(oSug.HasErrors.ToString()); // boolean indicating incorrect spelling
       oItem.SubItems.Add(oSug.StartIndex.ToString()); // start index of the fist char of the word
       if (oSug.HasErrors)
           oItem.SubItems.Add(string.Join(" * ", oSug.Suggestions)); // and array of spelling suggestions
}

Features

- Multi-lingual spell checking on Windows 8, 8.1 and Windows 10
- Checks single words, sentences, and paragraphs
- Returns character positions, and spelling suggestions for each word checked
- Requires no additional spelling dictionaries