A lightweight Go service that uses Aho-Corasick automaton for fast keyword matching, with built-in web console, online lexicon management, hot-reload, and optional dual AI models for content risk detection.

Stars

15

7-day growth

No data

Forks

4

Open issues

0

License

AGPL-3.0

Last updated

2026-07-15

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It uniquely combines traditional Aho-Corasick text scanning with two on-device AI models (Lite and MacBERT) to simultaneously detect keywords and policy-violating content like pornography or homophonic risks, all accessible through a single web interface.

Who it is for

  • Content moderation system developers
  • Customer service quality inspectors
  • Developers needing rule-based text classification and routing
  • Teams requiring hot-reloadable keyword libraries with online management

Use cases

  • Classifying and filtering user-generated content
  • Annotating text segments with tags and remarks for routing
  • Providing compliance hints or warnings in customer chat systems
  • Dual-checking sensitive content (keyword + AI) for automated moderation pipelines

Strengths

  • Efficient single-pass matching via Aho-Corasick automaton
  • Full Unicode support including emoji and CJK characters
  • Online CRUD for keyword entries and live reload without downtime
  • Concurrent-safe hot-swap with atomic.Value and background rebuild

Considerations

  • Request body limit of 3 MiB (10 MiB with token) may constrain large inputs
  • AI models require additional memory and CPU resources
  • Automatic matching results are intended as auxiliary hints, not sole decision basis

README quick start

快速开始

Description

基于Go语言的敏感词系统 | 下方API目前无调用次数限制,可免费使用

Related repositories

Similar projects matched by category, topics, and programming language.

nethical6
Featured
nethical6 GitHub avatar

conversation-steganography

A tool that hides encrypted secret messages inside innocent-looking AI-generated chat text for private communication over any messaging platform.

Go
1,149
programmersd21
Featured
programmersd21 GitHub avatar

flow

flow is a minimalist terminal dashboard that displays real-time network throughput with smooth animations, multiple responsive modes, and zero configuration.

Developer ToolsCLI & Terminal
277
MobAI-App
MobAI-App GitHub avatar

simslim

simslim reduces iOS simulator memory usage by 4x by disabling unnecessary background daemons, allowing many more simulators to run on a single Mac.

Go
248