Giter Site home page Giter Site logo

sensitivewordsfilter's Introduction

SensitiveWordsFilter

使用优化DFA算法实现过滤敏感词汇,敏感词服务过滤规则如下:

1、支持对中文简体、繁体自动智能过滤。 即:设置中文简体敏感词后,对应繁体敏感词也会自动识别过滤。

2、智能忽略标点符号,匹配敏感词功能。 敏感词中间含有标点符号时,会忽略中间的标点符号,对敏感词进行过滤,如:设置敏感词“反动”,当出现“反、动”中间含有标点符号的聊天信息时,会自动过滤。

3、英文、数字敏感词,支持全角、半角,大、小写自动匹配,对英文单词进行智能识别过滤功能。如:设置敏感词“AV”,当出现含有“Java”的聊天信息时,因为“Java”为英文单词,所以不会对单词中包含的“av”进行过滤。

sensitivewordsfilter's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.