Hi, I just uploaded a Chinese Phrases package in ifcss.org: /software/x-win/cxterm-dictionary/CZComplete1.0.tar.gz. Enjoy! ---xiaokun ============================================================================= CZComplete is a collection of Chinese Phrases and most of them are two words, three words, and four words phrase. The current version is 1.0 It includes 83082 items of phrases and most of them comes from ifcss.org: /software/data/phrases.dat, pd-phrases.b5 (Thanks to the author). you need cxterm NewFace software to use this phrases. (ifcss.org:/software/x-win/cxterm-NewFace*) CZComplete supports: 1) original non-tone PinYin, 2) Wu Bi Pin Yin, 3) Main Element PinYin, 4) Nature Simple Ma whit south accent. All "Chong Ma" are rearranged based on the appear frequency of Chinese words (data from Xiaoxian Zeng, Thanks). A new Chinese symbols input is included in these input methods. Most of digital and ASCII code can type with blind. The following is a introduction: /a a /aa A /b b /bb B ... /z z /zz Z //f are punch symbol "fu hao" //fa //fs //s are mathematics symbol "shu xue fu hao" //sa //ss //d are digital symbol //da //ds //dd //h are Chinese digital symbol (zhong wen shu zi) //ha //l are Roman symbol (luo ma shu zi) //a are other ASCII symbol //b are table symbol (biao fu hao) //ba //bs //r are Japanese characters (ri wen) //ra //x are green characters (xi la wen) //xa //e are Russia characters (e wen) //ea //o are other European characters (o zhou wen) //oa =========================================================================== INSTALL: % gzip -dc CZComplete1.0.tar.gz | tar xvf - % cd CZComplete1.0 % read and customize Makefile. % make % make install % make clean % change items of your ${HOME}/.Xdefaults to new input table names, for instance, ... ~Shift F3: switch-HZ-mode(SZRM) \n\ ~Shift F4: switch-HZ-mode(PY) \n\ ~Shift F5: switch-HZ-mode(WBPY) \n\ ~Shift F6: switch-HZ-mode(UserCZ) \n\ ~Shift F8: switch-HZ-mode(MEPY) \n\ F9: switch-HZ-mode(ASCII) \n\ ... Since 83082 items of phrases need large space, you'd better choose only one or two input method to produce phrase code. =========================================================================== Pin Yin Phrases: We cascade each PinYin code of words in a phrase if phrase is not more than four Chinese words or cascade the first, second, third, and the last PinYin code if the phrase is more than four Chinese words For instances, ~{V*5@~} "zhi dao" ==> zhidao ~{VP9z2K~} "zhong guo cai" ==> zhongguocai ~{2;3I>4Rb~} "bu cheng jing yi" ==> buchenghingyi ~{VP9z?FQ'T:~} "zhong guo ke xue yuan" ==> zhongguokeyuan ========================================================================== Wu Bi PinYin: If you need use PinYin in WuBi, you can start with the first 'z' then follow the standard PinYin. WuBi phrase encodes with fix length, four keys, for a phrase of TWO words: two WuBi code of the first word; two WuBi code of the second words; for a phrase of THREE words: one WuBi code of the first word; one WuBi code of the second word; two WuBi code of the third word; for a phrase of FOUR or more words: one WuBi code of the first word; one WuBi code of the second word; one WuBi code of the third word; one WuBi code of the last word. For instances, ~{V*5@~} "zhi dao" ==> tdut ~{VP9z2K~} "zhong guo cai" ==> klae ~{2;3I>4Rb~} "bu cheng jing yi" ==> gdau ~{VP9z?FQ'T:~} "zhong guo ke xue yuan" ==> kltb ========================================================================== Main Element PinYin: Definition of MEPY (Qing ZHANG, qzhang@ignatz.inde.bc.ca) MEPY non-MEPY Keys Sequences a ai, ia a ==> a] ==> a]] e ei, ie e ==> e] ==> e]] o ou, uo o ==> o] ==> o]] an ang, ang, iang an ==> an] ==> an]] ==> an]]] en eng en ==> en] in ing in ==> in] ong iong ong ==> iong ao iao ao ==> ao] i /* when not used with other vowels */ some vowels may be decomposed into two parts, each has a MEPY corresponding to it. Like "uang", its MEPYs are "u" and "an". z zh z ==> z[ c ch c ==> c[ s sh s ==> s[ l n, r l ==> l[ ==> l[[ all other consonants are defined as MEPY Single Chinese Word Input: You can use standard PinYin or use MEPY input. You can also switch to next entry with one key "[", "]" while you use MEPY. For instances, zan => ~{T[~} "zan" zan] => ~{2X} "zang" zan[ => ~{U=~} "zhan" zan[] => ~{3$~} "zhang" MEPY Phrases Input: We cascade each MEPY code of words in a phrase if phrase is not more than four Chinese words or cascade the first, second, third, and the last MEPY code if the phrase is more than four Chinese words. For instances, ~{V*5@~} "zhi dao" ==> zidao ~{VP9z2K~} "zhong guo cai" ==> zonggoca ~{2;3I>4Rb~} "bu cheng jing yi" ==> bucenjinyi ~{VP9z?FQ'T:~} "zhong guo ke xue yuan" ==> zonggokeyuan ======================================================================== Nature Simple Ma with south accent: Definition "Shunag Pin" Keybroad: All Consonants except "zh", "ch", "sh" are the same as their original key broad position. zh ==> Z, ch ==> C, sh ==> S ( Capital character as key broad symbol) For vowels, 1) a, e, i, o, u are the same as their original key broad position. 2) an, ang ==> S en, eng ==> R in, ing ==> K ong, iong ==> L un ==> J (Imagine "n" as next key) 3) ia ==> Q ai ==> Z (symmetry of A key) ie ==> W ei ==> F (symmetry of E key) 4) ao ==> G (between of A and O) 5) ian, iang ==> D (near "an", "ang") iao ==> H (near "ao") iu ==> Y (near U) 6) The vowels whose first character are "u" are in the bottom row except "uo" uu ==> V ua ==> B ue ==> N ui ==> M uai ==> X (near "ai") uan, uang ==> C (near "an, ang") 7) uo ==> O ou ==> P (near O) Single Chinese Word Input: You can choose one of the following approach to input Chinese words, 1) two keys "Shuang Pin" and selection by keys "[", "]" 2) two keys "Shuang Pin" and two key "Nature Xing Ma" 3) one keys prefix "'" and then three keys "Nature Xing Ma" Chinese Phrases Input: SZRM phrase encodes with fix length, four keys, for a phrase of TWO words: two ShuangPin code of the first word; two ShuangPin code of the second words; for a phrase of THREE words: Consonants code of the first word; Consonants code of the second word; two ShuangPin code of the third word; for a phrase of FOUR or more words: Consonants code of the first word; Consonants code of the second word; Consonants code of the third word; Consonants code of the last word. For instances, ~{V*5@~} "zhi dao" ==> zidg ~{VP9z2K~} "zhong guo cai" ==> zgcz ~{2;3I>4Rb~} "bu cheng jing yi" ==> bcjy ~{VP9z?FQ'T:~} "zhong guo ke xue yuan" ==> zgky =========================================================================== FILE LIST: Makefile README --- this file czcmplt.gb --- Plain Phrases Library esym.titnf --- GB symbol input table py.titnf --- original Pin Yin input table wbpycz.titnf --- WuBi PinYin input table hywubi.gb --- HuangYu WuBi input table epy.gb --- PinYin for WuBi input table mepy.titnf --- Main Element PinYin input table szrm.titnf --- Simple ZiRan Ma input table s2py.gb --- New Shuang Pin input table zrx.gb --- ZiRan Xing Ma input table py.dic --- PinYin dictionary of CCTeach wubi.dic --- WuBi dictionary of CCTeach mepy.dic --- MEPY dictionary of CCTeach szrm.dic --- SZRM dictionary of CCTeach czencode.c --- Phrase encoder srcdic /py.it --- source of PinYin dictionary /wubi.it--- source of WuBi dictionary /mepy.it--- source of MEPY dictionary /szrm.it--- source of SZRM dictionary --- Xiaokun Zhu xiaokun@stat.gla.ac.uk