tsroten / dragonmapper

Identification and conversion functions for Chinese text processing
MIT License
54 stars 18 forks source link

Pinyin to Zhuyin/IPA conversion fails with -r suffix #6

Closed tsroten closed 10 years ago

tsroten commented 10 years ago

When converting a Pinyin syllable that ends with the -r suffix to Zhuyin/IPA, a ValueError is raised because the transcription mapping data is lacking the 'r' syllable. In IPA 'ɻ' should be used for the -r suffix. In Zhuyin, 'ㄦ' should be used.