ToolGood.Words icon indicating copy to clipboard operation
ToolGood.Words copied to clipboard

一款高性能敏感词(非法词/脏字)检测过滤组件,附带繁体简体互换,支持全角半角互换,汉字转拼音,模糊搜索等功能。

Results 20 ToolGood.Words issues
Sort by recently updated
recently updated
newest added

func (s *BaseSearchEx) sortMap(mp map[int32]int) []int32 { var newMp = make([]int, 0) var newMpKey = make([]int32, 0) for oldk, v := range mp { newMp = append(newMp, v) newMpKey =...

bug

报错: Exception in thread "main" java.util.IllegalFormatArgumentIndexException: Illegal format argument index = 0 at java.base/java.util.Formatter$FormatSpecifier.index(Formatter.java:2803) at java.base/java.util.Formatter$FormatSpecifier.(Formatter.java:2872) at java.base/java.util.Formatter.parse(Formatter.java:2729) at java.base/java.util.Formatter.format(Formatter.java:2671) at java.base/java.util.Formatter.format(Formatter.java:2625) at java.base/java.lang.String.format(String.java:3290) at toolgood.words.internals.BaseMatch.MatchKeywordBuild(BaseMatch.java:188) at toolgood.words.internals.BaseMatch.SetKeywords(BaseMatch.java:362) at toolgood.words.DemoApplication.test_StringMatch(DemoApplication.java:348)...

本人精力有限,本项目功能性开发都暂停,只负责bug修复,抱歉了。 如果大家对敏感词过滤更感兴趣,可以研究以下项目: https://github.com/toolgood/ToolGood.TextFilter

load词库文件时空指针,测试用例里边Load方法注释掉了?

求python版的PinyinMatch 我看现在只有C#和java版本的

php是世界上最好的语言

PinyinMatch的SetKeywords方法每次调用都会直接覆盖掉_keywords,如果中途需要追加部分关键词,就只能重新加载全部关键词,所以最好是能提供在后面追加的方法。

关键词匹配问题,请提供测试代码及词库! 没有测试代码及词库,我是无法定位到代码哪一行出错了。 所以请提供测试代码及词库,如果没有提供,只能说一声抱歉了,我会关闭issues。 IllegalWordsSearch类已设置为Obsolete,原则上是不再维护,除非是有重大bug。

var msg="你 好"; var searchTool = new StringSearchEx2(); searchTool.SetKeywords(["你好","世界"]); var result = searchTool.Replace(msg, '*'); 结果显示未替换。

Bumps [org.springframework:spring-core](https://github.com/spring-projects/spring-framework) from 5.2.24.RELEASE to 6.0.15. Release notes Sourced from org.springframework:spring-core's releases. v6.0.15 :star: New Features Skip buffer allocation in StreamUtils.copy(String) #31631 :lady_beetle: Bug Fixes <replaced-method /> unnecessarily requires explicit...

dependencies
java