hepeichun
hepeichun
> > I'm still confused on why `s.ifaceIPs` is nil only on Windows? Doesn't make any sense! > > I haven't added any code yet, just use the example code...
> 抱歉,目前只支持中文检测。你这边所提到的返回都是false,麻烦提供一下具体调用示例吧,方便看问题,谢谢~ 建议在加载敏感词的时候去除一下左右空白符号,我使用的时候发现这个问题了,读取文件词库可能因为换行分隔符不一样导致,甚至有一些IDE会在最后一行补一个空行。
> 我在想一个思路直接将常见符号过滤,将表情符号语义化,然后进行检查。
> 请问,是否可以设分别设置敏感词树、停用词树、以及黑名单 $handle1 = new SensitiveHelper(); $handle1->setTree($wordData1); $handle2 = new SensitiveHelper(); $handle2->setTree($wordData2);
I also need
https://github.com/cdipaolo/goml/blob/master/text/tfidf_test.go
https://github.com/FireLustre/php-dfa-sensitive/issues/35
这个建议自己支持,比较词库还是需要自己维护的。
> 存数据库之前对 &全部替换为&的实体字符即可解决即可解决。 谢谢
> 我的也有失效现象: > 'URL_ROUTE_RULES'=> array( > 'talk /:id \ d'=>'Talk / talk', > 'talkcate /:id \ d'=>'Talk / category', > 'mobile'=> 'index / mobile', > 'donate'=>'索引/捐赠' > ) > 前两个的配置方法继续有效,后两个找不到控制器。...