论坛中的语言过滤器 [英] Language filter in forum

查看:59
本文介绍了论坛中的语言过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用的网站(使用C#的Asp.net)现在接受公共评论,其中一项要求是对脏话进行基本检查.

出乎意料的是,对于这样一个常见问题,我无法在网上找到任何代码.

如果有人对此有代码,或者您有任何参考网站?如果有任何免费的API availabel,请告诉我.

在此先感谢

Praveen Kumar. R

Hello Everyone,

A website I am working on (Asp.net with c#) right now accepts public comments and one of the requirements is to do a basic check for dirty language.

Surprisingly for such a common problem I wasn’t able to find any code on the net.

If anyone has code for this or do you have any reference site for this? If any free API availabel please let me know.

Thanks in advance

Praveen Kumar. R

推荐答案

创建一个实用程序,用于修剪列表中的单词,并返回结果.

应该为所有输入完成此操作

这样的事情可能会对您有所帮助:

http://forums.asp.net/t/1131092.aspx [
Create an utility which trims those words in your list, and returns back the result.

This should be done for all inputs

Something like this might help you :

http://forums.asp.net/t/1131092.aspx[^]

:rose:


我必须检查一些不需要的单词,这就是我的脏话.您有过滤单词的想法吗?
I have to check some unwanted words that''s what i mean dirty language. you have any idea about to filter the words?


我们如何获取单词列表?有免费的API吗?
How can we get the list of words?? there are any free API for this??


这篇关于论坛中的语言过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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