{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/11"},{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic"}],"enrichment":{"capability":"Zhon provides character constants and regular expression patterns for processing Chinese text, including CJK characters, Pinyin syllables, and Zhuyin marks.","skillfed_tags":["chinese-nlp","character-data","regex-patterns"],"use_cases":["Extract all CJK characters from mixed-language text using zhon.hanzi.characters with regex","Validate and extract Pinyin syllables or words from romanized Chinese using zhon.pinyin patterns","Build Chinese text segmentation or tokenization tools that rely on character class definitions","Identify Chinese punctuation marks in text for parsing or cleaning tasks","Validate Zhuyin (bopomofo) syllables in phonetic Chinese text processing"],"what_it_does":"Zhon is a reference library of constants for Chinese language processing. It exports pre-defined character sets (CJK characters, radicals, punctuation), Pinyin validation patterns (vowels, consonants, syllable/word/sentence regex), Zhuyin marks, and CC-CEDICT character references. The package has no runtime dependencies and is designed to be imported and used with Python's re module or other text processing tools.\n\nTypical use is to extract or validate Chinese text components: finding all hanzi characters in a mixed-language string, matching Pinyin syllables or words with regex, or validating sentence structure. It's a data reference, not an algorithm library\u2014you provide the processing logic (usually regex) and zhon provides the character classes and patterns.","worth_installing":"Yes. Zhon is a stable, dependency-free reference library for Chinese text processing with no known vulnerabilities. Install it if you're building tools that need to identify, validate, or extract Chinese characters, Pinyin, or Zhuyin. The dormant maintenance status is not a concern for a constants-only package\u2014the character sets it exports are unlikely to change frequently."},"id":"zhon","links":{"html":"https://skillfed.io/packages/zhon","md":"https://skillfed.io/packages/zhon.md","pypi":"https://pypi.org/project/zhon/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-11-20","license_spdx":null,"license_treatment":"permissive","name":"zhon","python_support":"supports_current","summary":"Zhon provides constants used in Chinese text processing."},"popularity":{"monthly_downloads":571763,"position":5949,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1.1"}
