From f400f561185e2b4278581349b1b25861b2f18ccf Mon Sep 17 00:00:00 2001 From: houbb <1060732496@qq.com> Date: Sun, 8 Aug 2021 21:14:12 +0800 Subject: [PATCH] [Feature] add for new --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e98fbef..160e2a2 100644 --- a/README.md +++ b/README.md @@ -230,7 +230,9 @@ Assert.assertEquals("[Ⓕⓤc⒦]", wordList.toString()); ```java final String text = "ⒻⒻⒻfⓤuⓤ⒰cⓒ⒦ the bad words"; -List wordList = SensitiveWordHelper.findAll(text); +List wordList = SensitiveWordBs.newInstance() + .ignoreRepeat(true) + .findAll(text); Assert.assertEquals("[ⒻⒻⒻfⓤuⓤ⒰cⓒ⒦]", wordList.toString()); ```