# houbb/sensitive-word

👮‍♂️The sensitive word tool for java.(敏感词/违禁词/违法词/脏词。基于 DFA 算法实现的高性能 java 敏感词过滤工具框架。内置支持单词标签分类分级。请勿发布涉及政治、广告、营销、翻墙、违反国家法律法规等内容。高性能敏感词检测过滤组件，附带繁体简体互换，支持全角半角互换，汉字转拼音，模糊搜索等功能。)

Repository: https://github.com/houbb/sensitive-word
Canonical: https://ross.abutalabs.com/products/sensitive-word
Homepage: https://houbb.github.io/opensource/sensitive-word
Language: Java
License: Apache-2.0
License Family: permissive
Topics: sensitive, sensitive-word, sensitive-word-filter, dfa, trie-tree, nlp, dirty-word, filter, java, pinyin, search, string-matching, textfliter
Last push: 2026-03-23T10:35:47+00:00

## Health v2 (maintenance only)
Score: 56/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 73, release rhythm 8, longevity 100
- inputs: {"age_days": 2430, "days_push": 163, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6026, forks 805 (observed 2026-08-28T04:09:34.373325+00:00)

## What it is
A high-performance Java library for sensitive/prohibited word detection and filtering based on the DFA algorithm, with a built-in 60k+ word library and word tag classification. It supports detection, masking, custom replacement strategies, dynamic word list updates, and format normalizations like traditional/simplified Chinese conversion, full/half-width conversion, and pinyin conversion.

## Use cases
- filter profanity from user comments in a Java app
- detect sensitive words in user-generated content
- mask banned words in chat messages
- moderate text for prohibited content before publishing
- normalize Chinese text with traditional/simplified and full/half-width conversion
- categorize flagged words by severity tags
- build a custom blacklist and whitelist with live updates

## When to choose
- you need fast (100k+ QPS) sensitive-word filtering on the JVM
- you want built-in Chinese word lists with classification and dynamic updates
- you need flexible matching that skips special characters and handles format variants

## When to avoid
- you need content moderation for non-Chinese languages with ready-made word lists
- you want a full moderation service with a web console rather than an embedded library
- your stack is not Java/JVM

## Facets
- artifact type: library
- maturity: active
- function: nlp, search-engine, parser
- domain: text-editors, developer-tools
- platform: jvm
- tags: sensitive-word-filter, dfa, trie-tree, content-moderation, text-filtering, chinese-text, pinyin, word-categorization, natural-language-processing

## Member repositories
- houbb/sensitive-word (main) score 56

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:34.373325+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:49:14.697985+00:00, confidence not recorded.
  - readme: https://github.com/houbb/sensitive-word (fetched 2026-08-28T04:09:34.373325+00:00, sha 8bb73bf018f8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
