awesome-repositories.com
Blog
MCP
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
houbb avatar

houbb/sensitive-word

0
View on GitHub↗
5,896 Stars·790 Forks·Java·Apache-2.0·10 Aufrufehoubb.github.io/opensource/sensitive-word↗

Sensitive Word

Dieses Projekt ist eine performante Java-Bibliothek und ein Content-Moderations-Framework, das darauf ausgelegt ist, verbotene Wörter in Texten zu erkennen und zu maskieren. Es nutzt einen Deterministic-Finite-Automaton (DFA)-Scanner, um eine effiziente Longest-Match-Worterkennung zu implementieren.

Die Engine zeichnet sich durch eine Textnormalisierungs-Pipeline und einen Noise-Filtering-Preprocessor aus, die Zeichenschreibweisen, Skripte und Breiten standardisieren und gleichzeitig eingestreute Sonderzeichen entfernen, um Filter-Evasion zu verhindern. Sie unterstützt dynamisches Wörterbuch-Management, wodurch Blacklists und Whitelists im Hintergrund aktualisiert werden können, ohne dass ein Systemneustart erforderlich ist.

Das Framework deckt ein breites Spektrum an Moderationsfunktionen ab, darunter tag-basierte Wortklassifizierung zur Kategorisierung von Verstößen, rekursive Match-Verarbeitung zur Handhabung verschachtelter sensibler Wörter und Mustererkennung zur Identifizierung strukturierter Daten wie URLs und E-Mail-Adressen. Es enthält zudem Utilities zur Input-Sanitierung, um HTML-Tags und Skriptelemente zu entfernen.

Features

  • DFA-Based Scanning - Implements a high-performance DFA scanner for efficient longest-match sensitive word detection.
  • Content Moderation Filters - Scans text against configurable blacklists to detect and mask prohibited content in a high-performance framework.
  • Sensitive Word Filters - Provides a noise-filtering preprocessor to detect banned terms hidden by interspersed special characters or filler symbols.
  • Input Validation and Sanitization - Provides libraries for validating, masking, and sanitizing data to prevent offensive content.
  • Evasion-Resistant Normalization - Standardizes character casing, script styles, and width formats before matching to prevent evasion via formatting tricks.
  • Finite Automaton Search - Utilizes a Deterministic Finite Automaton for high-performance pattern matching and sensitive word detection.
  • Finite Automaton Search Algorithms - Implements high-performance keyword matching in Java using the Deterministic Finite Automaton algorithm for fast content scanning.
  • Longest-Match String Resolution - Prioritizes the longest matching sequence from the dictionary to ensure precise identification of complex sensitive phrases.
  • Filter Evasion Normalization - Standardizes text scripts, character widths, and case to prevent users from bypassing filters with formatting tricks.
  • Filter Evasion Normalization - Standardizes case, character width, and script styles to prevent users from bypassing filters with formatting tricks.
  • Longest-Match Word Detection - Implements a high-precision longest-match algorithm using a DFA to identify prohibited words in text.
  • Dictionary Management - Provides administrative management for sensitive word dictionaries and allow-lists to tailor prohibited content detection.
  • Noise Character Filtering - Ignores specific characters or stop words during scanning to find sensitive terms hidden by filler symbols.
  • Permutation Analysis - Analyzes reversed character sequences and phonetic variations to detect sensitive words intended to bypass filters.
  • Data Detection Patterns - Combines dictionary lookups with regular expressions to detect structured data such as URLs, emails, and IP addresses.
  • Violation Category Tagging - Associates metadata labels with dictionary entries to enable filtering and processing based on specific violation categories.
  • Dynamic Blocklist Modification - Adds or removes specific words from the blacklist without requiring a full re-initialization of the engine.
  • Filter Evasion Normalizers - Standardizes case, character width, and script styles to prevent filter evasion via formatting tricks.
  • Dictionary Hot-Reloading - Allows updating sensitive word blacklists and allow-lists in the background without requiring a system restart.
  • Intervening Character Filtering - Filters out specified special characters during scanning to find words intentionally separated by noise.
  • Content Cleaning - Removes URLs, phone numbers, and corrupted characters to isolate the core message for analysis.
  • Dynamic List Updates - Adds or removes words from blacklists and whitelists dynamically to update detection without restarting the system.
  • Dynamic Exception Management - Adds or removes specific words from an exception list dynamically to prevent false positives without restarting.
  • Recursive Filtering - Scans and filters text repeatedly until no new sensitive words emerge from previous replacements.
  • Middleware-Based Masking - Replaces sensitive words with alternative characters or masks based on custom replacement strategies.
  • Violation Categorization - Assigns labels to detected words to distinguish between different violation types, such as fraud or violence.
  • False Positive Filtering - Reduces false positives using custom conditions, such as category tags or full-word requirements.
  • Recursive Replacement Loops - Scans and filters text repeatedly until no new sensitive words are formed by previous replacement operations.
  • Dictionary Background Refresh - Updates the active sensitive word library in the background to maintain current lists without interrupting existing operations.

Star-Verlauf

Star-Verlauf für houbb/sensitive-wordStar-Verlauf für houbb/sensitive-word

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Sensitive Word

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Sensitive Word.
  • zongzibinbin/mallchatAvatar von zongzibinbin

    zongzibinbin/MallChat

    4,648Auf GitHub ansehen↗

    MallChat is an e-commerce backend system and real-time messaging platform. It provides a server-side infrastructure for managing online stores, including integrated shopping carts, order processing, and payment workflows. The system features a WebSocket chat server for instant customer communication and a content moderation engine that uses pattern matching to block sensitive language. It integrates large language models to provide automated conversational AI chatbots for customer support and product recommendations. Identity management is handled through a token-based authentication system

    Java
    Auf GitHub ansehen↗4,648
  • toolgood/toolgood.wordsAvatar von toolgood

    toolgood/ToolGood.Words

    5,161Auf GitHub ansehen↗

    ToolGood.Words is a sensitive word filtering library and text sanitization component designed for high-performance detection and masking of prohibited terms. It provides tools for Chinese text normalization, pinyin transliteration, and the replacement of banned words with placeholders. The project is distinguished by its ability to uncover obfuscated language through a pinyin transliteration engine and phonetic-based detection. It identifies sensitive content hidden by phonetic substitutions, first-letter initials, or intentional misspellings by mapping Chinese characters to pinyin representa

    JavaScriptaho-corasickdotnetfilter
    Auf GitHub ansehen↗5,161
  • protectai/llm-guardAvatar von protectai

    protectai/llm-guard

    2,561Auf GitHub ansehen↗

    LLM Guard is a security firewall and guardrail framework designed to scan and sanitize inputs and outputs for large language models. It functions as a proxy gateway and security layer to block prompt injections, toxicity, and sensitive data leakage while ensuring that model interactions remain compliant with organizational policies. The system distinguishes itself through a modular scanner pipeline that utilizes local model orchestration to eliminate external network dependencies. It supports real-time security filtering via streaming chunk analysis and implements a fail-fast execution model

    Pythonadversarial-machine-learningchatgptlarge-language-models
    Auf GitHub ansehen↗2,561
  • dromara/hutoolAvatar von dromara

    dromara/hutool

    30,279Auf GitHub ansehen↗

    Hutool is a comprehensive suite of Java extensions designed to serve as a standard library extension. Its primary purpose is to reduce development boilerplate for common programming tasks and data manipulation through a collection of utility classes. The project provides specialized toolkits for database management using active record patterns and connection pooling, as well as network communication via a simplified HTTP client and asynchronous socket management. It includes security and identity capabilities such as symmetric and asymmetric encryption, image captcha generation, and JWT token

    Java
    Auf GitHub ansehen↗30,279
Alle 30 Alternativen zu Sensitive Word anzeigen→

Häufig gestellte Fragen

Was macht houbb/sensitive-word?

Dieses Projekt ist eine performante Java-Bibliothek und ein Content-Moderations-Framework, das darauf ausgelegt ist, verbotene Wörter in Texten zu erkennen und zu maskieren. Es nutzt einen Deterministic-Finite-Automaton (DFA)-Scanner, um eine effiziente Longest-Match-Worterkennung zu implementieren.

Was sind die Hauptfunktionen von houbb/sensitive-word?

Die Hauptfunktionen von houbb/sensitive-word sind: DFA-Based Scanning, Content Moderation Filters, Sensitive Word Filters, Input Validation and Sanitization, Evasion-Resistant Normalization, Finite Automaton Search, Finite Automaton Search Algorithms, Longest-Match String Resolution.

Welche Open-Source-Alternativen gibt es zu houbb/sensitive-word?

Open-Source-Alternativen zu houbb/sensitive-word sind unter anderem: zongzibinbin/mallchat — MallChat is an e-commerce backend system and real-time messaging platform. It provides a server-side infrastructure… toolgood/toolgood.words — ToolGood.Words is a sensitive word filtering library and text sanitization component designed for high-performance… protectai/llm-guard — LLM Guard is a security firewall and guardrail framework designed to scan and sanitize inputs and outputs for large… dromara/hutool — Hutool is a comprehensive suite of Java extensions designed to serve as a standard library extension. Its primary… cure53/dompurify — DOMPurify is a security-focused library designed to sanitize untrusted HTML input, preventing cross-site scripting… chriso/validator.js — validator.js is a JavaScript string validation and sanitization library. It provides a set of functions to verify that…