Download the PHP package guanhui07/dfa-sensitive without Composer
On this page you can find all versions of the php package guanhui07/dfa-sensitive. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download guanhui07/dfa-sensitive
More information about guanhui07/dfa-sensitive
Files in guanhui07/dfa-sensitive
Download guanhui07/dfa-sensitive
More information about guanhui07/dfa-sensitive
Files in guanhui07/dfa-sensitive
Vendor guanhui07
Package dfa-sensitive
Short Description copy from FireLustre/php-dfa-sensitive,To achieve the filtering of sensitive words, based on the determination of finite automata (DFA) algorithm.
License MIT
Package dfa-sensitive
Short Description copy from FireLustre/php-dfa-sensitive,To achieve the filtering of sensitive words, based on the determination of finite automata (DFA) algorithm.
License MIT
Please rate this library. Is it a good library?
Informations about the package dfa-sensitive
php-DFA-filterWord
安装扩展
如果你需要手动引入
构建敏感词库树
场景一: 可以拿到不同(用户)词库数组
场景二: 全站使用一套敏感词库
设置干扰因子集合
注意只干扰因子只支持单个字符或单个汉字,暂不支持词
但是多个干扰因子连在一起,敏感词可以准确识别
忽略大小写
注意该设置只有在构建敏感词库树之前调用
在构建敏感词库树之后调用,结果可能不符合预期
检测是否含有敏感词
敏感词过滤
标记敏感词
获取文字中的敏感词
All versions of dfa-sensitive with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
ext-mbstring Version *
ext-mbstring Version *
The package guanhui07/dfa-sensitive contains the following files
Loading the files please wait ....