go-swd

    Sensitive Words Detection 一个高性能的敏感词检测和过滤库,基于 Go 语言开发,采用整洁架构设计。专注于中文文本的敏感词检测,支持多种检测策略和灵活的扩展机制。

    Language: go

    Author: Elijah Perry (@eperry)

    0 stars · 196 views

    Files

    • ci.yml (yml)
    • lint.yml (yml)
    • version (txt)
    • version.go (go)
    • pkg (txt)
    • swd (txt)
    • errors.go (go)
    • swd_test.go (go)
    • codeql.yml (yml)
    • violence.txt (txt)
    • drugs.txt (txt)
    • gambling.txt (txt)
    • filter_test.go (go)
    • README.md (md)
    • swd.go (go)
    • example (txt)
    • main.go (go)
    • LICENSE (txt)
    • .github (github)
    • workflows (txt)
    • swd.go (go)
    • factory.go (go)
    • options.go (go)
    • core (txt)
    • interfaces.go (go)
    • algorithm.go (go)
    • dictionary (txt)
    • strict (txt)
    • political.txt (txt)
    • profanity.txt (txt)
    • discrimination.txt (txt)
    • pornography.txt (txt)
    • scam.txt (txt)
    • loader_test.go (go)
    • loader.go (go)
    • default (txt)
    • political.txt (txt)
    • profanity.txt (txt)
    • discrimination.txt (txt)
    • pornography.txt (txt)
    • violence.txt (txt)
    • drugs.txt (txt)
    • gambling.txt (txt)
    • scam.txt (txt)
    • algorithm (txt)
    • algorithm_test.go (go)
    • ac.go (go)
    • trie.go (go)
    • detector (txt)
    • detector.go (go)
    • detector_test.go (go)
    • preprocessor (txt)
    • preprocessor_test.go (go)
    • preprocessor.go (go)
    • filter (txt)
    • filter.go (go)
    • types (txt)
    • category (txt)
    • category.go (go)
    • category_test.go (go)
    • README.assets (assets)
    • banner.png (image)
    • ATTRIBUTION.md (markdown)

    Loading code snippet…