sensitive-word-data
收藏资源简介:
敏感词/违禁词/违法词/脏词原始词库。基于 DFA 算法实现的高性能 java 敏感词过滤工具框架。内置支持单词标签分类分级。请勿发布涉及政治、广告、营销、翻墙、违反国家法律法规等内容。高性能敏感词检测过滤组件,附带繁体简体互换,支持全角半角互换,汉字转拼音,模糊搜索等功能。
Original lexicon of sensitive, prohibited, illegal and vulgar words. This is a high-performance Java sensitive word filtering tool framework implemented based on the DFA algorithm, with built-in support for word label classification and grading. Please do not publish content involving politics, advertisements, marketing, VPN circumvention, or violations of national laws and regulations. This high-performance sensitive word detection and filtering component also supports functions such as traditional and simplified Chinese conversion, full-width and half-width character conversion, Chinese character to pinyin conversion, and fuzzy search.
sensitive-word-data 数据集概述
基本描述
- 数据集名称:sensitive-word-data
- 配套工具:与 sensitive-word 配套使用
- 许可证:Apache2
- 作者:老马
主要特性
- 词库规模:6W+ 词库,持续优化更新
- 算法性能:基于 DFA 算法,性能为 7W+ QPS
- 核心功能:
- 支持敏感词判断、返回、脱敏等操作
- 支持格式转换(全角半角互换、英文大小写互换等)
- 支持敏感词检测、邮箱检测、数字检测、网址检测等
- 支持自定义替换策略
- 支持用户自定义敏感词和白名单
- 支持数据动态更新,实时生效
- 支持敏感词标签接口+内置分类实现
- 支持跳过特殊字符
- 支持黑白名单单个新增/修改
- 支持词匹配模式的两种模式
快速开始
环境要求
- JDK1.8+
- Maven 3.x+
Maven 引入
xml <dependency> <groupId>com.github.houbb</groupId> <artifactId>sensitive-word-data</artifactId> <version>1.0.0</version> </dependency>
相关项目
| 项目名称 | 描述 |
|---|---|
| sensitive-word | 高性能敏感词核心库 |
| sensitive-word-data-admin | 敏感词控台,前后端分离 |
| sensitive | 高性能日志脱敏组件 |
| auto-log | 统一日志切面组件 |
| encryption-local | 离线加密机组件 |
| encryption | 加密机标准API+本地客户端 |
| encryption-server | 加密机服务 |
拓展阅读
- 敏感词控台实现
- 敏感词标签文件
- 多版本特性更新记录(v0.10.0 至 v0.25.1)
- 相关技术文章(DFA 算法详解、脏词分类标签等)
NLP 开源矩阵
- pinyin 汉字转拼音
- pinyin2hanzi 拼音转汉字
- segment 高性能中文分词
- opencc4j 中文繁简体转换
- nlp-hanzi-similar 汉字相似度
- word-checker 拼写检测
- sensitive-word-data 敏感词




