views:

1477

answers:

10

Are there any libraries out there (preferably a self contained Text Edit Control) for .NET that have Spell Check capabilities. I would like to add the typical red underline to miss-spelled words in the edit area of my application.

Edit: To clarify, this is for WinForms

+1  A: 

You didn't mention whether this was for web based use or a desktop app, but I have used netSpell in the past and had good success.

duckworth
A: 

Infragistics has a spell checker control that can do spell checking on any control. I haven't used it myself, but you can download a trial version for free.

Rune Grimstad
A: 

FCKEditor is a nice text editor (web based). It has spellchecking capabilities.

Vinblad
+1  A: 

Telerik do one for Asp.Net

Omar Kooheji
A: 

Component One supply a component that does this but only as you type. I use it and it is very fast.

See here for more info

John
A: 

Here is something for you as per your requirement. HTH.

Codeslayer
+5  A: 

Not a redlining control, but: Aspell.Net is a Free and Open Source .Net spell checking component. Based on the GNU Aspell project, Aspell.Net is one of the most powerful multi-lingual spelling engines available. The API is written in C# and communicates through a C++ wrapper around the Win32 Port of Aspell's C API.

Source repository at sourceforge, checked February 2010 (Tahnks, @magnifico).

gimel
Aspell.Net's repository appears to be offline.
magnifico
The linked page has an invalid link to the cvs repository. Here is an updated link: http://aspell-net.cvs.sourceforge.net/viewvc/aspell-net/
magnifico
A: 

RapidSpell worked great for me http://keyoti.com

+3  A: 

Aspell.Net looks nice, but does not seem to be maintained anymore. I could not get it to work on my machine.

After searching around SourceForge, I found NHunspell, which is a .Net port of the spell checker from OpenOffice.org. It provides methods to spell check, find synonyms, and hyphenate. Its actively maintained at this time, and comes with easy to understand sample code.

In the project's own words:

Spell Checker, Hypenation and Thesaurus: NHunspell

NHunspell is a free open source spell checker for the .NET Framework. C# and Visual Basic sample code is available for spell checking, hyphenation and synonym lookup via thesaurus.

NHunspell is based on Hunspell and brings the Open Office spell checking, hyphenation and thesaurus to the Microsoft® .NET Framework. NHunspell is a .NET (C#, VB) library and wraps the native libraries Hunspell, Hyphen and MyThes.

The integrated libraries are used in OpenOffice and work with the dictionaries published on OpenOffice.org. License

NHunspell is licensed under: GPL/LGPL/MPL. Free use in commercial applications is permitted according to the LGPL and MPL licenses. Your commercial application can link against the NHunspell DLLs.

NHunspell

magnifico
+1  A: 

NHunspellTextBoxExtender, created by William Winner works. Once added to your project, can be used to extend textboxes and rich textboxes (any control that inherits TextBoxBase). Source code is included as well.

http://www.codeproject.com/KB/recipes/NHunspellExtenderProvider.aspx

Michael
The best of them!
Soonts