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.
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.
Stars
53
Forks
10
Language
Python
License
MIT
Category
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.
Related tools
thewh1teagle/phonikud
Hebrew grapheme to phoneme (G2P)
Wikidepia/g2p-id
Indonesian Grapheme-to-Phoneme (IPA notation)
GitYCC/g2pW
Chinese Mandarin Grapheme-to-Phoneme Converter. 中文轉注音或拼音 (INTERSPEECH 2022)
AdolfVonKleist/Phonetisaurus
Phonetisaurus G2P
pnnbao97/sea-g2p
Fast multilingual text-to-phoneme converter for South East Asian languages.