Ross ROSS = Recommend OSS · open-source software intelligence for agents

observerss/textfilter

敏感词过滤的几种实现+某1w词敏感词库 observed · 2026-08-28

github.com/observerss/textfilter · Python observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 5355
  • days_rel: n/a
  • days_push: 1839
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2108 stars · 819 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A small Python library implementing several sensitive-word filtering algorithms (including DFA) bundled with a ~10k-word sensitive word list. It replaces matched words in text with asterisks.

Use cases

  • filter profanity from user comments
  • censor sensitive words in chat messages
  • mask banned words in user-generated content
  • build a content moderation pipeline in Python
  • check text against a sensitive word dictionary

When to choose

  • you need a lightweight, dependency-free word filter in Python
  • you want a ready-made Chinese sensitive word list
  • you prefer simple DFA-based matching you can read and modify

When to avoid

  • you need regularly updated word lists or active maintenance
  • you need fuzzy matching, pinyin, or evasion-resistant filtering
  • you need a hosted moderation API with ML-based detection

Facets

library · maturity maintenance

nlp parser text-editors developer-tools python cross-platform sensitive-word-filter dfa profanity-filter chinese-text wordlist natural-language-processing

1 source

Member repositories

RepositoryRoleHealth v2
observerss/textfiltermain32

For agents

markdown · JSON · MCP: product_card(name="observerss/textfilter")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem