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.

52
/ 100
Established

This tool helps linguists, language teachers, or students convert Mandarin Pinyin text into the International Phonetic Alphabet (IPA). You input Pinyin, and it provides the corresponding IPA transcription, with tones attached to the vowel of each syllable. This is for anyone who needs to precisely represent Mandarin pronunciation for study, teaching, or analysis.

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

Use this if you need to accurately translate Pinyin with tone marks into IPA for linguistic analysis, language learning materials, or phonetic studies.

Not ideal if you need a general-purpose text-to-speech converter or a tool for transcribing other Chinese dialects or languages.

linguistics phonetics Mandarin-Chinese language-education speech-analysis
Stale 6m
Maintenance 2 / 25
Adoption 9 / 25
Maturity 25 / 25
Community 16 / 25

How are scores calculated?

Stars

53

Forks

10

Language

Python

License

MIT

Last pushed

Apr 16, 2025

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.