| 程序包 | 说明 |
|---|---|
| com.github.houbb.sensitive.word.api |
api 定义
|
| com.github.houbb.sensitive.word.bs | |
| com.github.houbb.sensitive.word.support.tag |
| 限定符和类型 | 方法和说明 |
|---|---|
IWordTag |
IWordContext.wordTag() |
| 限定符和类型 | 方法和说明 |
|---|---|
SensitiveWordContext |
IWordContext.wordTag(IWordTag wordTag) |
| 限定符和类型 | 方法和说明 |
|---|---|
IWordTag |
SensitiveWordContext.wordTag() |
| 限定符和类型 | 方法和说明 |
|---|---|
SensitiveWordContext |
SensitiveWordContext.wordTag(IWordTag wordTag) |
SensitiveWordBs |
SensitiveWordBs.wordTag(IWordTag wordTag) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractWordTag
抽象的单词标签
|
class |
AbstractWordTagInit
抽象的单词标签初始化引导类
|
class |
FileWordTag
基于文件的标签
word tag1,tag2
|
class |
NoneWordTag
空标签
word tag1,tag2
|
class |
WordTagLines
根据标准的行来处理
行规范:
单词 标签1,标签2
|
class |
WordTagMap
根据 map 构建初始化
key:单词
value: 标签 set
|
class |
WordTagSystem
系统内置策略,根据文件默认处理
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected IWordTag |
FileWordTag.wordTag
词和标签的分隔符
|
| 限定符和类型 | 方法和说明 |
|---|---|
static IWordTag |
WordTags.chains(IWordTag wordTag,
IWordTag... others)
链式调用
|
static IWordTag |
WordTags.defaults()
默认策略
|
static IWordTag |
WordTags.file(String filePath)
文件实现
|
static IWordTag |
WordTags.file(String filePath,
String wordSplit,
String tagSplit)
文件实现
|
static IWordTag |
WordTags.lines(Collection<String> lines)
根据标准的约定行处理
|
static IWordTag |
WordTags.lines(Collection<String> lines,
String wordSplit,
String tagSplit)
根据标准的约定行处理
|
static IWordTag |
WordTags.map(Map<String,Set<String>> wordTagMap)
MAP 策略
|
static IWordTag |
WordTags.none()
空实现
|
static IWordTag |
WordTags.system()
系统文件策略
|
| 限定符和类型 | 方法和说明 |
|---|---|
static IWordTag |
WordTags.chains(IWordTag wordTag,
IWordTag... others)
链式调用
|
static IWordTag |
WordTags.chains(IWordTag wordTag,
IWordTag... others)
链式调用
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract void |
AbstractWordTagInit.init(com.github.houbb.heaven.support.pipeline.Pipeline<IWordTag> pipeline)
初始化列表
|
Copyright © 2025. All rights reserved.