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

恕我愚昧,这不就是一个正则匹配吗? #9

Open
theajack2 opened this issue Jul 8, 2020 · 3 comments
Open

恕我愚昧,这不就是一个正则匹配吗? #9

theajack2 opened this issue Jul 8, 2020 · 3 comments

Comments

@theajack2
Copy link

如题

@Sajor-X
Copy link

Sajor-X commented Jul 23, 2020

AC 自动机

@BlackGlory
Copy link

取决于具体情况.

模式数量比较少, 长度比较短的时候内置的正则引擎可以完爆Aho-Corasick.
模式数量大, 长度比较长的情况, 情况就逆转了.

@chergn
Copy link

chergn commented Sep 9, 2024

可能这个库的亮点不是技术,是敏感词全面吧

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

4 participants