# Trie **Repository Path**: alaions/trie ## Basic Information - **Project Name**: Trie - **Description**: Java实现前缀树(字典树),实现搜索与敏感词过滤 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2023-06-11 - **Last Updated**: 2025-03-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: Java, trie, 前缀树 ## README # Trie #### 介绍 Java实现前缀树(字典树),实现搜索与敏感词过滤 可应用与web的搜索与敏感词过滤 使用步骤 ``` insert()插入,构建前缀树` insertPlus()插入,增加拼音识别 search()查询特定词语是否存在 searchList()查询符合前缀的所有词语 searchListPlus()增加拼音查询 delete()逻辑删除一个词 searchWord()查询一段文字中是否含有特定词(敏感词检测) 敏感词下载:https://github.com/linjinmin/sensitiveWork/blob/master/sensitive_work.sql ```