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

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
toolgood avatar

toolgood/ToolGood.Words

0
View on GitHub↗
5,161 stars·874 forks·JavaScript·Apache-2.0·15 views

ToolGood.Words

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 representations.

The library covers a broad range of text processing capabilities, including character set conversion between simplified and traditional Chinese, full-width and half-width character formatting, and wildcard pattern matching. These utilities support a normalization workflow that standardizes input before applying filtering and masking logic.

Features

  • Character-to-Pinyin Converters - Ships a high-performance engine that converts Chinese characters into phonetic pinyin and initials to detect obfuscated language.
  • Obfuscation Detection - Identifies sensitive terms that use character skipping, repetitions, or case variations to bypass standard filters.
  • Chinese Natural Language Processing - Provides computational linguistics tools for Chinese text, including pinyin transliteration and script transformation.
  • Phonetic Representations - Generates pinyin letters or first-letter initials from Chinese characters to uncover hidden sensitive words.
  • Sensitive Word Filters - Detects and replaces banned terms in user input with asterisks or custom placeholder messages.
  • Chinese Script Normalizers - Standardizes Chinese text by converting between simplified and traditional scripts and adjusting character widths.
  • Pinyin Transliterations - Provides a comprehensive system for converting Chinese characters into Pinyin phonetic representations for content moderation.
  • Phonetic Dictionaries - Implements dictionary-based mapping of Chinese characters to pinyin to uncover phonetic aliases of banned words.
  • Chinese Character Simplifiers - Converts text between Simplified and Traditional Chinese scripts to ensure consistent sensitive word detection.
  • Sensitive Text Masking - Implements the replacement of detected sensitive patterns and banned words with placeholders to sanitize content.
  • Obfuscated Content Detection - Finds sensitive words hidden by phonetic pinyin substitutions, character repetitions, or intentional misspellings.
  • Substring Replacements - Replaces detected sensitive substrings with placeholder characters to sanitize the output text.
  • Filter Evasion Normalization - Standardizes text scripts, widths, and case to ensure consistent detection regardless of formatting tricks.
  • Variant Character Normalizers - Converts text between traditional and simplified Chinese character sets to ensure consistent detection across writing styles.
  • Regex Pattern Matching - Employs regular expressions and wildcards to identify sensitive terms that include character repetitions or spacing.
  • Multi-Stage Text Normalizers - Uses a sequential processing chain involving normalization and transliteration to clean and analyze text for sensitive content.
  • Pinyin Initialism Matchers - Matches text against a dictionary of pinyin acronyms and initials to catch obfuscated language.
  • Pinyin Sequence Pattern Matching - Identifies specific keywords or patterns within pinyin sequences using customizable index and splitting configurations.
  • Wildcard Pattern Matching - Identifies sensitive words using partial regular expressions, including dots and question marks.
  • Keyword Wildcard Filters - Detects sensitive words using regular expression patterns and wildcards to match various forms of a term.

Star history

Star history chart for toolgood/toolgood.wordsStar history chart for toolgood/toolgood.words

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to ToolGood.Words

Similar open-source projects, ranked by how many features they share with ToolGood.Words.
  • mozillazg/python-pinyinmozillazg avatar

    mozillazg/python-pinyin

    5,325View on GitHub↗

    python-pinyin is a Python library for transliterating simplified and traditional Chinese characters into phonetic pinyin. It functions as a transliteration system that converts text while supporting tone sandhi and providing utilities to transform pinyin between different formats, such as numeric tones, accent marks, or phonetic initials. The library features a polyphonic character resolver that analyzes surrounding word context to select the correct pronunciation for characters with multiple sounds. It also includes a customizable dictionary system that allows the extension of default transl

    Pythonchinesehanzihanzi-pinyin
    View on GitHub↗5,325
  • zh-lx/pinyin-prozh-lx avatar

    zh-lx/pinyin-pro

    4,646View on GitHub↗

    pinyin-pro is a Chinese pinyin transcription library and text segmentation tool. It converts Chinese characters into pinyin with support for tones, initials, and finals, while resolving polyphonic characters based on context. The project includes a pinyin pattern matching engine that enables searching Chinese text using full spellings, initials, or hybrid phonetic patterns. It also features a pinyin HTML generator that wraps characters and their transcriptions in markup tags for styled web display. The library provides capabilities for Chinese text segmentation, surname pronunciation priorit

    TypeScripthanzihanzi-pinyinhanzi2pinyin
    View on GitHub↗4,646
  • byvoid/openccBYVoid avatar

    BYVoid/OpenCC

    9,772View on GitHub↗

    OpenCC is a library and command-line tool for converting text between Simplified Chinese, Traditional Chinese, and Japanese Kanji. It operates at both the individual character and multi-character phrase levels, and applies region-specific vocabulary choices for Mainland China, Taiwan, and Hong Kong during conversion. The conversion engine resolves ambiguous character mappings using semantic and contextual rules, normalizes variant character forms for consistent orthography, and sequences multiple dictionary files into a configurable pipeline. It supports embedding custom conversion rules dire

    C++chinesechinese-conversionchinese-translation
    View on GitHub↗9,772
  • isnowfy/snownlpisnowfy avatar

    isnowfy/snownlp

    6,631View on GitHub↗

    SnowNLP is a Python library for Chinese natural language processing. It provides tools for text segmentation, sentiment analysis, document classification, and phonetic transliteration. The library includes capabilities for training and saving custom machine learning models for tokenization and sentiment analysis using raw training datasets. It covers a range of linguistic processing areas, including parts of speech tagging, sentence splitting, and text similarity measurement. The toolkit also provides utilities for extracting key information through text summarization and calculating word im

    Python
    View on GitHub↗6,631
See all 30 alternatives to ToolGood.Words→

Frequently asked questions

What does toolgood/toolgood.words do?

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.

What are the main features of toolgood/toolgood.words?

The main features of toolgood/toolgood.words are: Character-to-Pinyin Converters, Obfuscation Detection, Chinese Natural Language Processing, Phonetic Representations, Sensitive Word Filters, Chinese Script Normalizers, Pinyin Transliterations, Phonetic Dictionaries.

What are some open-source alternatives to toolgood/toolgood.words?

Open-source alternatives to toolgood/toolgood.words include: mozillazg/python-pinyin — python-pinyin is a Python library for transliterating simplified and traditional Chinese characters into phonetic… zh-lx/pinyin-pro — pinyin-pro is a Chinese pinyin transcription library and text segmentation tool. It converts Chinese characters into… byvoid/opencc — OpenCC is a library and command-line tool for converting text between Simplified Chinese, Traditional Chinese, and… isnowfy/snownlp — SnowNLP is a Python library for Chinese natural language processing. It provides tools for text segmentation,… overtrue/pinyin — This is a dictionary-based Chinese Pinyin transliteration library used to convert Chinese characters into Pinyin with… hotoo/pinyin — This is a Chinese text segmentation library that converts Chinese characters into their phonetic pinyin…