def _parse_zhuyin_syllable(unparsed_syllable):
zhuyin_tone = unparsed_syllable[-<NUM_LIT:1>]<EOL>if zhuyin_tone in zhon.zhuyin.characters:<EOL><INDENT>syllable, tone = unparsed_syllable, '<STR_LIT:1>'<EOL><DEDENT>elif zhuyin_tone in zhon.zhuyin.marks:<EOL><INDENT>for tone_number, tone_mark in _ZHUYIN_TONES.items():<EOL><INDENT>if zhuyin_tone == tone_mark:<EOL><INDENT>syllable, tone = unparsed_syllable[:-<NUM_LIT:1>], tone_number<EOL><DEDENT><DEDENT><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>" % unparsed_syllable)<EOL><DEDENT>return syllable, tone<EOL>
Return the syllable and tone of a Zhuyin syllable.