Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 =)