Thursday, December 20, 2012

Mandarin Chinese Input

These days I was working on tranlating the system in Cantonese Chinese Input to Mandarin Chinese Input. The first step is to identify the consonants and vowels. There are very many different versions and after researching on the topic, I find these facts are most correct:
21 consonants plus 1 zero consonant meaning that the vowels are pronounced as they are:
‘b’, ‘p’, ‘m’, ‘f’, ‘d’, ‘t’, ‘n’, ‘l’, ‘g’, ‘k’, ‘h’, ‘z’, ‘c’, ‘s’, ‘zh’, ‘ch’, ‘sh’, ‘r’, ‘j’, ‘q’, ‘x’ and ‘x’ is not considered as no consonant. ‘-’ can be used. ‘x’ is like ‘s’ but in mandarin, they are different in terms of emphasis, light/heavy s.
There are 38 vowels and in many versions, only 35 vowels as several vowels do not have their consonant part. The following is a scanned copy of Mr. Wong or Mr. Huang if pronounced in Mandarin:
List of Mandarin Vowels 
List of Mandarin Vowels
I organised the syllable table with the consonants and vowels with the single vowels addition as follows:
Mandarin Pinyin Syllable Table
Figure My mandarin Pinyin Syllable Table
I have verified with other versions:
One Pinyin Chart
One Pinyin Chart
Another Pinyin Chart
Another Pinyin Chart
More Pinyin Syllable Table
More Pinyin Syllable Table
Some versions add consonants ‘y’ and ‘w’ but the original scheme is to add ‘y’ and ‘w’ to the no consonant vowels like ‘u’ for ‘wu’ and ‘ü’ for ‘yu’ or even ‘ia’ as ‘ya’. Changing the syllable table makes pinyin more confusing.
Not all combinations are valid syllables and invalid ones are now excluded. Some version do a count to say the total is 412, some says 409 and I got 420 but some syllables do not have characters but maybe I have not found characters under those syllables, they are ‘lo’, ‘shong’, ‘rua’, ‘ruang’,’ nun’, ‘nia’, ‘lün’, ‘diang’, ‘ê’ for ‘e’, and ‘kei’. Some use ‘m’ and ‘n’ as vowels and will come to 420-10+2=412 as well. But with ‘ong’ being ‘weng’, there will only be 411. I am not sure about the 412 total for some version meant those syllables I listed. Please let me know for those who is knowledgeable in the area.
Please test drive my design at:
http://pcwong.org/mandarin/
and http://pcwong.org/mandarin/pinyin.html for pinyin input.
Have fun!

Saturday, November 10, 2012

廣東話輸入中文法更新

I have not updated my cantonese.pcwong.org website for the cantonese input methods for a long time. Just recently realize the spacing is too much for the interface for the natural cantonese input method as such:
The new re-design is now using a table of 9 columns instead of 19 columns and getting rid of the diphthongs columns as shown:
Have fun trying it at: http://pcwong.org/cantonese/input/v7.html

cantonese input update

我的廣東話輸入法很久沒有更新,最近心血來潮,看到自然(字弦)版的排版有太多空位:
新的版本我叫它做第柒版:
所有的複音(最多十個)安排在第一行,在滑鼠滑過時才顯示。 請擊點以下網址試試: http://pcwong.org/cantonese/input/v7.html