如何在ASP.Net上创建拼写检查控件

时间:2022-12-01 17:27:17

I need to create/use spell checker control inside web application which detects words mistakes and underline it(wrong word) with red line and when right click over the word it offers suggested correct words like Microsoft word.

我需要在Web应用程序中创建/使用拼写检查器控件来检测单词错误并用红线加下划线(错误的单词),当右键单击它提供的建议正确的单词如Microsoft Word时。

I need this action to be done client side not server side as when the user writes inside text box the checker detects words automatically without pressing "Button" and go to server, also i need to include my dictionary not using the control dictionary.

我需要这个动作完成客户端而不是服务器端,因为当用户在文本框内写入时,检查器自动检测单词而不按“按钮”并转到服务器,我也需要包含我的字典而不使用控制字典。

I need explicit code implementing this functionality please.

我需要实现此功能的显式代码。

I have googled this issue and didn't find explicit code just algorithms or server side codes.

我搜索了这个问题,并没有找到显式代码只是算法或服务器端代码。

1 个解决方案

#1


2  

There are a lot of free SpellCheckers you can download like "JSPELL". A google search for "Javascript based spellcheckers" will return some good ones.

你可以下载很多免费的SpellCheckers,比如“JSPELL”。谷歌搜索“基于Javascript的拼写检查”将返回一些好的。

#1


2  

There are a lot of free SpellCheckers you can download like "JSPELL". A google search for "Javascript based spellcheckers" will return some good ones.

你可以下载很多免费的SpellCheckers,比如“JSPELL”。谷歌搜索“基于Javascript的拼写检查”将返回一些好的。