Pinyin converter

I’ve added a small Pinyin converter to the InScript plugin. Pinyin is a method of transliterating Chinese characters into the Roman alphabet. As Chinese is a tonal language, it is important that these tones are included in the pinyin. This is achieved through the use of accents and other marks over certain vowels.

The reason for the converter is that these accents are not easy to type, especially for people with keyboards in an accent-less language (i.e. English). It is possible to enter the characters using some form of character mapping tool, or by entering the HTML code directly, but this is not an intuitive method.

Instead, a popular technique used on many websites is to write the tone as a number. For example, zhong1guo2 would indicate that the ‘o’ in zhong needs the first tone applied, and ‘o’ in guo needs the second. While this is an easy method of entering the text, it does not look good, and is another layer to understanding the tones themselves.