# SensitiveWordFilter-DFA **Repository Path**: hejx1/SensitiveWordFilter-DFA ## Basic Information - **Project Name**: SensitiveWordFilter-DFA - **Description**: 敏感词过滤 DFA算法 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2023-06-01 - **Last Updated**: 2023-06-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Wordfilter 基于DFA算法实现的敏感词过滤 # QuickStart 下载编译 ``` git clone https://github.com/gsfeng2015/SensitiveWordFilter-DFA.git cd SensitiveWordFilter mvn clean install -Dmaven.test.skip -Denv=release ``` # 使用 添加依赖 ``` com.gsfeng.wordfilter wordfilter-core ${bulid.version} ``` # 代码示例 项目中提供了Example,供参考使用: [wordfilter-example](/wordfilter-example/src/main/java/com/gsfeng/wordfilter/example/WordfilterExampleApplication.java) #FAQ 1、阅读源码时为什么会出现编译错误? > 回答: wordfilter-core使用lombok实现极简代码。关于更多使用和安装细节,请参考[lombok官网](https://projectlombok.org/download.html)。 # 算法--DFA [对于DFA、NFA理解](https://blog.csdn.net/little_nai/article/details/52528294)