- 博客(1)
- 收藏
- 关注
原创 前缀树对敏感词进行处理
毕业设计中有个评论功能,就想着对敏感词进行处理,使用了前缀树 class Trie { private Trie[] children; private boolean isEnd; public Trie() { children = new Trie[65536]; isEnd = false; } public void insert(String word) { Trie node = this;
2022-02-10 20:04:20
428
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅