mirror of
https://github.com/houbb/sensitive-word.git
synced 2026-03-22 08:27:36 +08:00
[Feature] add for new
This commit is contained in:
@@ -466,7 +466,7 @@ Assert.assertTrue(wordBs.contains(text));
|
||||
|
||||
就可以自定义实现 wordResultCondition 接口,实现自己的策略。
|
||||
|
||||
系统内置的策略在 WordResultConditions#alwaysTrue() 恒为真,WordResultConditions#englishWordMatch() 则要求英文必须全词匹配。
|
||||
系统内置的策略在 `WordResultConditions#alwaysTrue()` 恒为真,`WordResultConditions#englishWordMatch()` 则要求英文必须全词匹配。
|
||||
|
||||
## 入门例子
|
||||
|
||||
|
||||
Reference in New Issue
Block a user