C# 最好的拼写检查库是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/453611/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-04 03:58:29  来源:igfitidea点击:

What is the best spell checking library for C#?

c#.netasp.netspell-checking

提问by steve

What's the best spell checking library for C# / .net?

什么是 C#/.net 的最佳拼写检查库?

(This will be web-based, so the built in spell check for WPF won't work.)

(这将是基于 Web 的,因此 WPF 的内置拼写检查将不起作用。)

回答by Jason Hymanson

I have used Aspell.netbefore with some success.

我以前使用过Aspell.net并取得了一些成功。

回答by chad

There is a aspell .net wrapper.

有一个 aspell .net 包装器。

http://aspell-net.sourceforge.net/

http://aspell-net.sourceforge.net/

回答by Chris Marisic

You could embed the WPF spell checker using silverlight. Otherwise you might want to look at commercial products that are already available such as Telerik's ASP.NET AJAX Controls.

您可以使用 silverlight 嵌入 WPF 拼写检查器。否则,您可能想查看已经可用的商业产品,例如Telerik 的 ASP.NET AJAX Controls

回答by Khadaji

For a commercial solution:

对于商业解决方案:

I am currently evaluating RapidSpell and it seems be what I need. I will say that their demo install seemedto trash my third-party installs. (Somethingdid, and I noticed it right after installing their demo. But that may have been coincidence.)

我目前正在评估 RapidSpell,这似乎正是我所需要的。我会说他们的演示安装似乎破坏了我的第三方安装。(确实发生了一些事情,我在安装他们的演示后立即注意到了这一点。但这可能是巧合。)

回答by ChrisPelatari

I have used NetSpell in the past with success. http://sourceforge.net/projects/netspell/

我过去曾成功地使用过 NetSpell。http://sourceforge.net/projects/netspell/

回答by Kevin Babcock

Telerik's control suite for ASP.NET comes with a spell-checker. You might check them out.

Telerik 的 ASP.NET 控制套件带有拼写检查器。你可能会检查它们。

http://demos.telerik.com/aspnet-ajax/Spell/Examples/Overview/DefaultCS.aspx

http://demos.telerik.com/aspnet-ajax/Spell/Examples/Overview/DefaultCS.aspx

回答by Thomas Maierhofer

I've made a .NET version (wrapper) of the Open Office / Google Chrome ... spell checker Hunspell. It is called NHunspelland can be used with C#/ VB / .... The Open Office hyphenator "Hyphen" is also included. All Open Office dictionaries work. It is free (open source LGPL / MPL licensed).

我制作了 Open Office / Google Chrome 的 .NET 版本(包装器)...拼写检查器 Hunspell。它被称为NHunspell,可以与 C#/VB/...一起使用。还包括 Open Office 连字符“Hyphen”。所有 Open Office 词典都可以使用。它是免费的(开源 LGPL / MPL 许可)。

回答by Bryan Allred

For a custom solution I created a Web Service which then wrapped the WPF libraries. This gives the ability to use the built-in spell checking with ASP.NET applications/web sites by simply calling the Web Service.

对于自定义解决方案,我创建了一个 Web 服务,然后包装了 WPF 库。这提供了通过简单地调用 Web 服务对 ASP.NET 应用程序/网站使用内置拼写检查的能力。

An easy to follow and basic idea for the wrapping can be found here:

可以在此处找到易于遵循的基本包装理念:

http://www.quicklearn.com/blogsamples/SpellCheck.aspx

http://www.quicklearn.com/blogsamples/SpellCheck.aspx