Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boscojwho/pinyinparse
Convert Pinyin written with diacritic marks into IPA form.
https://github.com/boscojwho/pinyinparse
pinyin swift unicode
Last synced: about 1 month ago
JSON representation
Convert Pinyin written with diacritic marks into IPA form.
- Host: GitHub
- URL: https://github.com/boscojwho/pinyinparse
- Owner: boscojwho
- License: mit
- Created: 2024-06-15T01:33:41.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-28T23:55:49.000Z (6 months ago)
- Last Synced: 2024-06-29T00:41:36.982Z (6 months ago)
- Topics: pinyin, swift, unicode
- Language: Swift
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PinyinParse
PinyinParse converts standard Mandarin Pinyin written with diacritic marks (e.g. `chuāng`) into IPA form (e.g. `chuang1`).
## Why?
At the time of writing, Apple's `AVSpeechSynthesizer` had trouble reading some Pinyin written with diacritic marks when embedded in SSML, but worked as expected when written in IPA form. I couldn't find any exisiting repos that performed this conversion (there are plenty that do the reverse!), so here we are =)