def _parse_accented_syllable(unparsed_syllable):
if unparsed_syllable[<NUM_LIT:0>] == '<STR_LIT>':<EOL><INDENT>return unparsed_syllable[<NUM_LIT:1>:], '<STR_LIT:5>'<EOL><DEDENT>for character in unparsed_syllable:<EOL><INDENT>if character in _ACCENTED_VOWELS:<EOL><INDENT>vowel, tone = _accented_vowel_to_numbered(character)<EOL>return unparsed_syllable.replace(character, vowel), tone<EOL><DEDENT><DEDENT>return unparsed_syllable, '<STR_LIT:5>'<EOL>
Return the syllable and tone of an accented Pinyin syllable.

    Any accented vowels are returned without their accents.

    Implements the following algorithm:

    1. If the syllable has an accent mark, convert that vowel to a
        regular vowel and add the tone to the end of the syllable.
    2. Otherwise, assume the syllable is tone 5 (no accent marks).