dmort27 / epitran

A tool for transcribing orthographic text as IPA (International Phonetic Alphabet)
MIT License
625 stars 120 forks source link

Add Yue Support #168

Closed JingyuanHe1222 closed 5 months ago

JingyuanHe1222 commented 5 months ago

Adding support for Cantonese (need to be merged with the original version)

  1. Handle tones by pre-processor following by edge cases for duplicate tonal sounds handling in post-processor; additional mapping transformations.
  2. References: https://en.wikipedia.org/wiki/Help:IPA/Cantonese https://en.wikipedia.org/wiki/Template:IPAc-yue
  3. Test cases derived from Wikipedia IPA Table and Wikipedia Jyutping for each test word (original version makes some mistakes here).