问题
For my asp.net website, I need spell check functionality. I found some interesting solutions to do it.
1. Google spell checker
2. Hunspell.
Both are free. For my understanding I realized some cons and pros for both approach.
For Google spell checker, it gives much more correct word for incorrect word but Hunspell gives several suggestions. And Google has up to date suggestions but Hunspell,it depends on Open Office dictionary.
In my case, I need only one suggestion.
For cons, I have to depend on Google for spell checking. If Google service is down, it will effect for my site too.
So, what will be suitable for my site. Is it good idea to choose Google spell checker?
Is there are any non free solutions for spell checking?
回答1:
I think, it's good to use Hunspell
Reason for using Hunspell
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.
NHunspell is licenced 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.
From one of the comments:
Spell Checker: Hunspell Hunspell is a spell checker,
morphological analyzer and generator. It has stemming functions to find word stems. It allows the generation of derived forms (plural, ...) from the word stem.
SpellEngine - Spell Check,
Hyphenation and Thesaurus for Server and Web Server (ASP.NET) SpellEngine allows the thread-safe execution of spell check requests. It is a component opimzed for servers. All NHunspell features (spell check, hyphenation, thesaurus, analysis and generation) are integrated. To ensure full utilization of the CPUs on several requests, one Hunspell, Hyphen or MyThes is instantiated per processor or processor core and controlled by a semaphore. Multiple dictionaries can be installed to serve different languages. Spell check, hyphenation, and synonyms in multilingual applications are supported without any additional programming.
source: 1, 2
来源:https://stackoverflow.com/questions/16141985/what-is-good-for-spell-checker-google-spell-checker-or-hunspell