stefantaubert/pinyin-to-ipa

Command-line interface and Python library to transcribe pinyin to IPA. The tones are attached to the vowel of the syllable.

58
/ 100
Established

Supports multiple transcription variants per syllable (accounting for pronunciation ambiguity) and provides three interfaces: a Python API returning phoneme tuples, a web application, and a CLI with customizable phoneme separators. Built on linguistic phoneme mappings for Mandarin Chinese covering vowels, diphthongs, consonants, and five tone markers represented as Unicode diacritics.

Used by 1 other package. No commits in the last 6 months. Available on PyPI.

Stale 6m
Maintenance 2 / 25
Adoption 15 / 25
Maturity 25 / 25
Community 16 / 25

How are scores calculated?

Stars

53

Forks

10

Language

Python

License

MIT

Last pushed

Apr 16, 2025

Monthly downloads

481

Commits (30d)

0

Dependencies

2

Reverse dependents

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/voice-ai/stefantaubert/pinyin-to-ipa"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.