Skip to content

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

Open

Description

@danding-s
No description provided.

Activity

  1. FireLustre commented on Jun 27, 2022

    @FireLustre
    Owner

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

  2. hepeichun commented on Aug 17, 2022

    @hepeichun

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions