awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
mozillazg avatar

mozillazg/python-pinyin

0
View on GitHub↗

Python Pinyin

python-pinyin este o bibliotecă Python pentru transliterarea caracterelor chinezești simplificate și tradiționale în pinyin fonetic. Funcționează ca un sistem de transliterare care convertește textul, suportând în același timp sandhi-ul tonurilor și oferind utilitare pentru a transforma pinyin-ul între diferite formate, cum ar fi tonuri numerice, semne de accent sau inițiale fonetice.

Biblioteca dispune de un resolver de caractere polifonice care analizează contextul cuvintelor din jur pentru a selecta pronunția corectă pentru caracterele cu sunete multiple. Include, de asemenea, un sistem de dicționar personalizabil care permite extinderea rezultatelor implicite de transliterare folosind mapări fonetice personalizate la nivel de caracter unic sau frază.

Setul de instrumente acoperă operațiuni lingvistice mai largi, inclusiv extragerea componentelor fonetice precum inițialele și finalele, aplicarea diverselor stiluri fonetice și gestionarea caracterelor neconvertibile. Aceste capabilități sunt accesibile atât ca bibliotecă, cât și prin interfețe CLI pentru conversia textului și traducerea formatului tonurilor.

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI
pypinyin.readthedocs.io
↗

Features

  • Pinyin Transliterations - A comprehensive Python library for transliterating simplified and traditional Chinese characters into phonetic pinyin.
  • Character-to-Pinyin Converters - Provides a core engine for converting Chinese characters to pinyin with built-in polyphonic character resolution based on word context.
  • Polyphonic Character Handlers - Implements mechanisms to resolve characters with multiple pronunciations based on linguistic context.
  • Pinyin Style Selectors - Supports transforming pinyin between multiple formats, including numeric tones, accent marks, and initials-only representations.
  • Traditional Chinese Support - Converts both simplified and traditional Chinese characters into phonetic pinyin.
  • Phonetic Tone Adjustments - Automatically adjusts pinyin tones to reflect natural pronunciation changes based on adjacent syllables.
  • Tone Sandhi Rules - Automatically adjusts pinyin tones to reflect natural pronunciation changes based on adjacent syllables.
  • Chinese Natural Language Processing - Extracts phonetic components like initials and finals from Chinese text for linguistic analysis.
  • Phonetic Component Extractors - Provides utilities to split pinyin strings into their constituent initials and finals according to standard phonetic schemes.
  • Pinyin Dictionary Imports - Supports importing external phonetic datasets to customize and expand default pinyin mappings.
  • Phrase-Priority Matchers - Ensures semantic accuracy by matching multi-character phrases against the dictionary before processing individual characters.
  • Phonetic Formatting Styles - Implements a system to apply diverse transcription styles and pronunciation variants to converted pinyin text.
  • Pinyin Notation Converters - Transforms pinyin between various notation styles such as numeric tones and accent marks.
  • Natural Language Processing - Listed in the “Natural Language Processing” section of the FunNLP awesome list.
  • Lexical Analysis Tools - Library for converting Chinese characters to Pinyin.
  • Text Processing - Converts Chinese characters to Pinyin.
5,325 stele·627 fork-uri·Python·MIT·5 vizualizări

Istoric stele

Graficul istoricului de stele pentru mozillazg/python-pinyinGraficul istoricului de stele pentru mozillazg/python-pinyin

Întrebări frecvente

Ce face mozillazg/python-pinyin?

python-pinyin este o bibliotecă Python pentru transliterarea caracterelor chinezești simplificate și tradiționale în pinyin fonetic. Funcționează ca un sistem de transliterare care convertește textul, suportând în același timp sandhi-ul tonurilor și oferind utilitare pentru a transforma pinyin-ul între diferite formate, cum ar fi tonuri numerice, semne de accent sau inițiale fonetice.

Care sunt principalele funcționalități ale mozillazg/python-pinyin?

Principalele funcționalități ale mozillazg/python-pinyin sunt: Pinyin Transliterations, Character-to-Pinyin Converters, Polyphonic Character Handlers, Pinyin Style Selectors, Traditional Chinese Support, Phonetic Tone Adjustments, Tone Sandhi Rules, Chinese Natural Language Processing.

Care sunt câteva alternative open-source pentru mozillazg/python-pinyin?

Alternativele open-source pentru mozillazg/python-pinyin includ: 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… zh-lx/pinyin-pro — pinyin-pro is a Chinese pinyin transcription library and text segmentation tool. It converts Chinese characters into… toolgood/toolgood.words — ToolGood.Words is a sensitive word filtering library and text sanitization component designed for high-performance… isnowfy/snownlp — SnowNLP is a Python library for Chinese natural language processing. It provides tools for text segmentation,… promeg/tinypinyin — TinyPinyin is a Java and Android compatible library used for converting Chinese characters into Pinyin phonetic…

Alternative open-source pentru Python Pinyin

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Python Pinyin.
  • overtrue/pinyinAvatar overtrue

    overtrue/pinyin

    4,458Vezi pe GitHub↗

    This is a dictionary-based Chinese Pinyin transliteration library used to convert Chinese characters into Pinyin with support for various tone styles and formats. It provides specialized utilities for polyphonic character resolution to manage multiple pronunciations and a generator for extracting the first letter of characters to create searchable index strings. The library includes a formatter for converting names into Pinyin following official international travel document and passport spelling standards. It also features a tool for transforming Chinese text into hyphenated or dotted string

    PHPphppinyin
    Vezi pe GitHub↗4,458
  • hotoo/pinyinAvatar hotoo

    hotoo/pinyin

    7,821Vezi pe GitHub↗

    This is a Chinese text segmentation library that converts Chinese characters into their phonetic pinyin representation. It functions as a polyphone disambiguation tool, resolving ambiguous pronunciations for multi-sound characters using word segmentation and context analysis, and also serves as a pinyin sorting utility for ordering Chinese strings alphabetically. The library distinguishes itself through surname-aware pronunciation switching, applying specialized phonetic rules for Chinese surnames with non-standard pronunciations in name contexts. It supports pluggable word segmentation algor

    JavaScriptchinesehanzipinyin
    Vezi pe GitHub↗7,821
  • zh-lx/pinyin-proAvatar zh-lx

    zh-lx/pinyin-pro

    4,646Vezi pe 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
    Vezi pe GitHub↗4,646
  • toolgood/toolgood.wordsAvatar toolgood

    toolgood/ToolGood.Words

    5,161Vezi pe GitHub↗

    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
    Vezi pe GitHub↗5,161
Vezi toate cele 30 alternative pentru Python Pinyin→