zh-lx/pinyin-pro
中文转拼音、拼音音调、拼音声母、拼音韵母、多音字拼音、姓氏拼音、拼音匹配、中文分词 observed · 2026-10-10
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 99
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 17.5
- age_days: 2186
- days_rel: 11
- days_push: 11
- n_releases_24m: 11
Adoption not part of the score
4742 stars · 401 forks observed · 2026-10-10
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A high-performance Chinese-to-Pinyin conversion library for JavaScript/TypeScript. It converts Chinese characters to pinyin with tones, initials, finals, and first letters, and supports pinyin matching and Chinese word segmentation.
Use cases
- convert chinese characters to pinyin in javascript
- get pinyin with tones for hanzi text
- match pinyin against chinese text for fuzzy search
- extract pinyin initials and finals from chinese
- handle polyphonic chinese characters correctly
- segment chinese text into words
- generate html with pinyin annotations above chinese characters
When to choose
- you need accurate pinyin conversion including polyphonic characters and surnames
- you need to convert large volumes of Chinese text quickly
- you want pinyin-based fuzzy matching for search inputs
- you work in a JavaScript/TypeScript environment
When to avoid
- you need pinyin conversion outside the JS/TS ecosystem
- you need full Chinese NLP beyond pinyin and basic segmentation
Facets
library · maturity active
nlp parser search-engine developer-tools browser cross-platform pinyin chinese hanzi word-segmentation text-conversion natural-language-processing localization nodejs typescript
3 sources
- readme: https://github.com/zh-lx/pinyin-pro · fetched 2026-10-10 · 9bbaaa5ef0b8
- homepage: https://pinyin-pro.cn · fetched 2026-08-29 · 98af6957008c
- registry_npm: https://registry.npmjs.org/pinyin-pro · fetched 2026-08-29 · e667a6838038
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| zh-lx/pinyin-pro | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="zh-lx/pinyin-pro")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem