Emacs Chinese Input for Studying Chinese

, ,

If you are learning Chinese, there's a nice feature of emacs Chinese input for studying Chinese characters. You can also try it just for fun.

First, switch to Chinese input. Call set-input-methodCtrl+x Enter ↵ Ctrl+\】, then give “chinese-py” (this is basic pinyin input system). (to switch back, call toggle-input-methodCtrl+\】)

Now, type “p” then press Tab ↹. You'll get a list of all words whose pronunciation starts with p.

Possible completion and corresponding characters are:
 p: -
   pa:(1/2) 1.怕 2.爬 3.帕 4.扒 5.趴 6.啪 7.琶 8.葩 9.耙 0.杷
      (2/2) 1.钯 2.筢
     pai:(1/1) 1.派 2.排 3.牌 4.拍 5.徘 6.湃 7.俳 8.蒎 9.哌
     pan:(1/2) 1.判 2.盘 3.盼 4.叛 5.畔 6.潘 7.攀 8.拚 9.蹒 0.磐
         (2/2) 1.爿 2.蟠 3.襻 4.袢 5.泮
       pang:(1/2) 1.旁 2.庞 3.胖 4.乓 5.膀 6.磅 7.彷 8.螃 9.滂 0.耪
            (2/2) 1.逄
     pao:(1/2) 1.跑 2.炮 3.抛 4.泡 5.袍 6.刨 7.咆 8.狍 9.疱 0.脬
         (2/2) 1.庖 2.匏
   pe: -
     pei:(1/2) 1.配 2.陪 3.培 4.佩 5.赔 6.沛 7.裴 8.呸 9.胚 0.醅
         (2/2) 1.锫 2.辔 3.帔 4.旆 5.霈
     pen:(1/1) 1.盆 2.喷 3.湓
       peng:(1/2) 1.朋 2.鹏 3.碰 4.彭 5.捧 6.棚 7.蓬 8.膨 9.烹 0.抨
            (2/2) 1.篷 2.砰 3.澎 4.怦 5.堋 6.蟛 7.嘭 8.硼
   pi:(1/5) 1.批 2.否 3.皮 4.屁 5.披 6.疲 7.辟 8.啤 9.脾 0.匹
      (2/5) 1.僻 2.劈 3.譬 4.坯 5.痞 6.癖 7.琵 8.毗 9.霹 0.噼
      (3/5) 1.媲 2.郫 3.裨 4.纰 5.丕 6.鼙 7.圮 8.蚍 9.蜱 0.貔
      (4/5) 1.陂 2.陴 3.砒 4.仳 5.埤 6.擗 7.吡 8.庀 9.邳 0.疋
      (5/5) 1.芘 2.枇 3.罴 4.淠 5.铍 6.甓 7.睥
     pia: -
       pian:(1/2) 1.便 2.片 3.篇 4.偏 5.骗 6.翩 7.扁 8.犏 9.谝 0.蹁
            (2/2) 1.骈 2.缏 3.胼
       piao:(1/2) 1.票 2.漂 3.飘 4.瓢 5.嫖 6.瞟 7.骠 8.嘌 9.剽 0.螵
            (2/2) 1.缥 2.莩 3.殍
     pie:(1/1) 1.撇 2.瞥 3.氕 4.丿 5.苤
     pin:(1/2) 1.品 2.贫 3.拼 4.频 5.聘 6.拚 7.姘 8.嫔 9.榀 0.颦
         (2/2) 1.牝
       ping:(1/2) 1.平 2.评 3.瓶 4.凭 5.萍 6.乒 7.屏 8.苹 9.坪 0.枰
            (2/2) 1.娉 2.俜 3.鲆
   po:(1/2) 1.破 2.迫 3.颇 4.婆 5.坡 6.泊 7.泼 8.魄 9.粕 0.珀
      (2/2) 1.叵 2.攴 3.钷 4.笸 5.钋 6.陂 7.泺 8.鄱 9.皤
     pou:(1/1) 1.剖 2.裒 3.掊
   pu:(1/3) 1.普 2.铺 3.扑 4.朴 5.谱 6.浦 7.葡 8.蒲 9.仆 0.脯
      (2/3) 1.瀑 2.菩 3.溥 4.匍 5.璞 6.噗 7.圃 8.埔 9.氆 0.镨
      (3/3) 1.蹼 2.镤 3.濮 4.莆

You can also try chinese-tonepy, which lets you type a tonal mark as integer to narrow down the char list.

Note: emacs's Chinese input is not practical compared to many other dedicated Chinese input systems. So, this is mostly useful for those who are studying Chinese, learning pinyin, or list characters. For real Chinese language input, you'll need features such as phrase suggestions, fuzzy input features, and many others to speed up the input.

Emacs eim Chinese Input

There's a Chinese input for emacs called eim. https://github.com/viogus/eim It is written in elisp. (i haven't tried, but heard good words about it)

Chinese Input on Linux

Linux: Chinese Input Setup

thx to Lew Perin and Torsten Wagner.

blog comments powered by Disqus