Middle Chinese Tone Identifier

Identify Middle Chinese tones and generate compact ping-ze output from pasted Chinese text.