Blacklist of words on content to filter message [closed]

孤街浪徒 提交于 2019-11-28 11:48:52

You're never going to be able to filter every permutation. Perhaps the most feasible solution is to filter the obvious, and implement a "Report Abuse" mechanism so someone can manually look over (and reject) suspect comments.

SO you are going to ban shit, shït, shıt, śhit, and śhiŧ?

Blacklisting is not a viable solution in the Unicode age. Yet banning € outright seems excessive.

too much php

If you have enough time, it is worthwhile reading about the Scunthorpe problem.

Jeff Atwood also has a post on the futility of obscenity filters.

Thanks to too much php I've found some links which might be a solution for your case:

Use uClassify to train bad comments, when the system is trained well enough you can flag the offending comments for moderation.

Also there is always the possibility to filter word like "bass" which of course includes one of the words which is not permitted. At the moment some good moderators seem like the best solution to such a problem.

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