Sensitive敏感词过滤类,源代码分享(本人开发的代码,可以使用,但是禁止通过其他方式进行转载,谢谢)
2022-05-03 12:57:05 908KB Sensit 敏感词 敏感词过滤 源码
1
主要介绍了C#敏感词过滤实现方法,涉及C#针对字符串操作的常用技巧,非常具有实用价值,需要的朋友可以参考下
2022-04-10 18:33:37 59KB C# 敏感词过滤
1
Java实现DFA算法实现敏感词过滤,并且支持跳词,如中 国,中*国等,并包含了比较全的敏感词库,也摘抄了其它几种敏感词过滤方法,只对DFA方式的敏感词做了优化,支持跳词
2022-04-05 16:44:51 3.41MB dfa  敏感词 过滤 java
1
Author: Richard Zhang. Mail: 89205975@qq.com This library filters sensitive phrases by user's configuration. Currently, only support UTF8 & ANSI encoded strings. The matching rule is max-length-matching, the library tries to match sensitive phrase as long as possible. For example: "damn fucker" and "damn" are all in sensitive dictionary, the sentence "he's a damn fucker" will be processed to "he's a ***********". Even user insert some spaces or non-letter characters between sensitive words, the library is also able to deal with it. For example: "Bad boy" is added to sensitive dictionary, "Bad.boy", "Bad boy", "Bad/boy" can also be filtered. "你去死" is added to sensitive dictionary, "你 去 死", "你/去 死", "你 去 .死" can also be filtered. Compiling requirement: 1. STL C++11 2. BOOST multi_index_container Performance test condition: 1. Giving a sentence around 100 bytes (English & Chinese mixed) 2. Dirty phrases around 10,000 3. Do 1,000 loop test 4. Intel I7 CPU Test result: For each loop, it cost around 100us
2022-04-02 17:47:14 4KB 脏话 敏感词 聊天 过滤
1
java使用dfa算法实现敏感词过滤,此算法效率最高,附带了一个敏感词库,轻松搞定论坛网站的敏感词过滤问题。
2022-03-30 13:14:46 1.39MB 敏感词过滤 dfa Java
1
如下所示: #!/usr/bin/python2.6 # -*- coding: utf-8 -*- import time class Node(object): def __init__(self): self.children = None # The encode of word is UTF-8 def add_word(root,word): node = root for i in range(len(word)): if node.children == None: node.children = {} node.chil
2022-03-01 10:49:08 52KB python python算法 敏感词
1
一款高质量的敏感词过滤器 , 采用MFC编写 , 注释详细 , 算法简洁易懂 . 非常适合学习MFC或字符串匹配的同学.
2022-02-19 11:21:42 2.17MB mfc 字符串匹配 敏感词 过滤
1
1.企微会话存档数据官方解析处理流程,多线程同步,保证速度和效率 2.注释清晰,开箱即用 3.默认实时记录seq队列值,增量运行 4.动态同步指定范围数据 5.cos文件上传 6.es数据存储 7.敏感词过滤
我们在开发系统或者应用的过程中,经常需要对用户提交的评论或者文章进行审核,对其中的敏感词进行校验或者过滤,本资源可以帮助各位小伙伴以一个简单的方式实现敏感词的过滤,代码精简易懂,可以应用在实际开发过程中
2022-01-19 18:02:21 4KB java 开发语言 后端 过滤器
word源码java copyright 不管您是个人还是公司都可以随意使用DzFilter,并且随意修改源代码。感谢大家的使用! 温馨提示 用于生产环境时请替换项目的数据库连接代码,使用数据连接池的方式操作数据库!非常抱歉,本项目暂不维护! 公告 目前1.0.7已经完善,暂时不支持sqlite强一致性,不能100%保证一致。 修复了集群情况下,重复通知的BUG。 1.0.9 版本移除关键词检索功能,如需使用请自行维护。 1.1.0 优化敏感词加载性能。 使用指南 SpringBoot举一反三即可. DzFilter 目前最新版:1.1.0[] 使用DFA算法实现的敏感词过滤。主要用于实现数据文本的内容安全,反垃圾,智能鉴黄,敏感词过滤,不良信息检测,携带文本的关键词获取。 过滤SQL脚本 过滤中文字符 过滤英文字符 过滤script标签 过滤html标签 过滤数字 过滤字母 过滤汉字 自定义过滤,可由后台自动删除添加。提供完善的API。 如何使用 导入以下仓库 jitpack.io http
2021-12-30 12:03:27 41KB 系统开源
1