ShanghaineseIPAOperator — IPA for Shanghainese

cjklib.reading.operator.ShanghaineseIPAOperator is an implementation of a transcription of Shanghainese into the International Phonetic Alphabet (IPA).

Features:

  • Tones can be given as tone contour numbers (e.g. 55, or superscript ⁵⁵), or IPA tone bar characters,
  • strict tonal rules can be enforced depending the syllable’s initial being voiced or voiceless and the final having a glottal stop,
  • splitting of syllables into onset and rhyme.

Class