Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/observerss/textfilter
敏感词过滤的几种实现+某1w词敏感词库
https://github.com/observerss/textfilter
Last synced: 5 days ago
JSON representation
敏感词过滤的几种实现+某1w词敏感词库
- Host: GitHub
- URL: https://github.com/observerss/textfilter
- Owner: observerss
- Created: 2012-01-05T00:29:51.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2021-08-20T05:11:02.000Z (over 3 years ago)
- Last Synced: 2024-11-21T04:32:16.453Z (21 days ago)
- Language: Python
- Homepage:
- Size: 114 KB
- Stars: 2,047
- Watchers: 46
- Forks: 841
- Open Issues: 12
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- awesome-github-star - textfilter
- awesome-hacking-lists - observerss/textfilter - 敏感词过滤的几种实现+某1w词敏感词库 (Python)
README
很短但是觉得挺有用的东东
所以单独立了个项目备份一下USAGE:
>>> f = DFAFilter()
>>> f.add("sexy")
>>> f.filter("hello sexy baby")
hello **** baby