https://github.com/hkspirt/ahocorasick
基于ahocorasick算法的敏感词过滤,支持中文、线程安全
https://github.com/hkspirt/ahocorasick
ahocorasick goroutine-safe utf-8
Last synced: 5 months ago
JSON representation
基于ahocorasick算法的敏感词过滤,支持中文、线程安全
- Host: GitHub
- URL: https://github.com/hkspirt/ahocorasick
- Owner: hkspirt
- License: mit
- Created: 2018-09-13T02:23:00.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-13T05:08:57.000Z (almost 8 years ago)
- Last Synced: 2024-06-20T17:43:13.313Z (about 2 years ago)
- Topics: ahocorasick, goroutine-safe, utf-8
- Language: Go
- Size: 94.7 KB
- Stars: 18
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ahocorasick
基于ahocorasick算法的敏感词过滤,支持中文、线程安全
# 基于gansidui版本优化
[gansidui原版](https://github.com/gansidui/ahocorasick)
```
增加Has接口
增加Replace接口
增加多线程支持
```