人工智能和聊天过滤器
是否有根据上下文起作用的聊天过滤器?我正在谈论使用人工智能和自然语言处理等新技术来确定一个词是否粗鲁,取决于上下文。
Are there any chat filters that works depending on the context? I'm talking about the use of new technologies like Artificial Intelligence and Natural Language Processing to determine for example if a word was rude or not, depending on the context.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
最简单的方法是仅使用正则表达式来处理少数最具攻击性的单词。
有一些在线服务可以让你用一个词来查询它是否是亵渎的。如果您想真正确定的话,这些都是不错的选择。
不幸的是,这些都没有确定的赌注。一个人的脏话是另一个人的常见谈话(参见 santorum。非常非常粗俗,但大多数人并没有被冒犯。)每个群体都有自己的家禽语言。 ballox 在美国还不错,但在英国就相当糟糕了。
你可能会犯一个严重的错误。即使你把一切都消除了,我仍然可以用最友善的语言写出一个非常令人反感的故事。
根据您想要的过滤级别,可以使用简短的黑名单或其中一项服务。
The simplest way is to just use a regex for the handful of most offensive words.
There are services offered online that will allow you to query with a word to see if it's profane. Those are good options if you want to be really sure.
Unfortunately, there's no sure bet for any of these. One man's profanity is another's common talk (see santorum. very very vulgar, but most aren't offended.) And each group has their own fowl language. ballox isn't so bad in America, but it's fairly bad in Britain.
You could make a clbuttic mistake. Even if you eliminate everything, I can still write a horribly offensive story using the kindest language.
A short black list or one of the services is the way to go depending on the level of filtering you want.
这看起来很有趣http://pottymouthfilter.com,不幸的是它是商业产品,但至少有人正在研究类似的东西。
This looks interesting http://pottymouthfilter.com, It is unfortunately commercial product but at least someone is working on something along those lines.