使用C#检测拼写错误 [英] detect spelling errors with c#

查看:119
本文介绍了使用C#检测拼写错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请大家帮我,我如何使用c#

please guys can u help me of how can i detect seppling errors of an rich textBox with c#

推荐答案

Google是您的朋友
来检测富文本框的分隔错误.
http://www.c-sharpcorner.com/UploadFile/scottlysle/SpellCheckCC0515200708452828/SpellCheckCC.aspx [ ^ ]

自动化MS Word&使用它的拼写检查器和单词库.

[edit]当然,客户端必须具有Word并具有正确的版本才能正常工作[/edit]

^是的,ASP.Net中的Interop可能会出现问题,但这并没有明确说明.

http://support.microsoft.com/default.aspx?scid=kb;zh-我们; Q257757 [ ^ ]

否则,sourceforge上的该项目将为您提供帮助

http://nhunspell.sourceforge.net/ [ ^ ]
Google is your friend

http://www.c-sharpcorner.com/UploadFile/scottlysle/SpellCheckCC05152007084528AM/SpellCheckCC.aspx[^]

That Automates MS Word & uses it''s spellchecker and word library.

[edit]Of course the client must have Word and of the proper version for this to work[/edit]

^ Yep, and Interop in ASP.Net can be problematic, but that wasn''t specified in question.

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q257757[^]

Otherwise, this project at sourceforge will help you

http://nhunspell.sourceforge.net/[^]


使用字典(不是集合类型).

没有自动的方法,您必须根据内置在应用程序中或通过Web服务的某种字典来验证文本.
Use a dictionary (not a collection type).

There is no automatic way, you must validate the text against some type of dictionary, either built in to your application or via a web service.


thaaaaaaaaaaaaaaaaaaaaaaaanan们:):D
thaaaaaaaaaaaaaaaaaaaanx guys :) :D


这篇关于使用C#检测拼写错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆