Spell checker for .NET / C#

只谈情不闲聊 提交于 2019-12-05 23:23:44

问题


Does somebody know a good multilanguage spell checker for C# - .NET?

I mean, I have googled it and I found some alternatives, but does someone have a good success story with one?

I need to add a spell checker to my application. I would like a library that integrates with System.Windows.Forms.TexBox, for example.

Also, my application is portable to Linux, Mac, (using Mono), so it should be 100% managed code.


EDIT: I'm looking for something that underlines with a red line a wrong word in the textbox and also proposes corrections in a contextmenu:


回答1:


If you don't object to paying for it, ComponentOne has a spellchecker component which attaches to a normal Textbox, and provides the highlight and context menu.

I use it at my work, and have had no problems with it so far.




回答2:


There is a project called NetSpell. Link: http://www.codeproject.com/KB/string/netspell.aspx

I have used it in my .Net winform application and it works like a charm. Let me know if you need anymore details and I can help you out. :)




回答3:


WPF has a built-in SpellCheck; however, I don't believe its fully portable to Mono since its WPF and not WinForms.



来源:https://stackoverflow.com/questions/5195460/spell-checker-for-net-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!