Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不管检测任何字符串,返回的都是false #35

Open
danding-s opened this issue Jun 1, 2022 · 2 comments
Open

不管检测任何字符串,返回的都是false #35

danding-s opened this issue Jun 1, 2022 · 2 comments

Comments

@danding-s
Copy link

No description provided.

@FireLustre
Copy link
Owner

抱歉,目前只支持中文检测。你这边所提到的返回都是false,麻烦提供一下具体调用示例吧,方便看问题,谢谢~

@hepeichun
Copy link

抱歉,目前只支持中文检测。你这边所提到的返回都是false,麻烦提供一下具体调用示例吧,方便看问题,谢谢~

建议在加载敏感词的时候去除一下左右空白符号,我使用的时候发现这个问题了,读取文件词库可能因为换行分隔符不一样导致,甚至有一些IDE会在最后一行补一个空行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants