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: 20 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 (about 3 years ago)
- Last Synced: 2024-10-01T15:02:35.658Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 114 KB
- Stars: 2,030
- Watchers: 46
- Forks: 839
- Open Issues: 12
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- awesome-github-star - textfilter
- awesome-hacking-lists - observerss/textfilter - 敏感词过滤的几种实现+某1w词敏感词库 (Python)
- awesome - observerss/textfilter - 敏感词过滤的几种实现+某1w词敏感词库 (Python)
README
很短但是觉得挺有用的东东
所以单独立了个项目备份一下USAGE:
>>> f = DFAFilter()
>>> f.add("sexy")
>>> f.filter("hello sexy baby")
hello **** baby