[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building intermediate Chinese language romanization alists
From: |
Feng Shu |
Subject: |
Re: Building intermediate Chinese language romanization alists |
Date: |
Sun, 20 Jan 2019 14:01:07 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
>
> (apply #'quail-define-rules pinyin-map-alist)
>
> The input method wouldn't be affected, but we'd have access to the
> mapping via the constant, which would be very useful.
>
I agree this idea very much, 3 years ago, pyim do not have
pyim-pymap.el, it use regexp to parse PY.el to get
(CJKchar -> pinyin) map, works but I think this is a ugly
way, so I create pyim-pymap.el based on PY.el
In my opinion, as a CJK input method, PY.el nearly useless
for it is very very hard to use. but pinyin->CJKchar map and
CJK-char->pinyin map very useful, for example, we can create
search tool, which can search CJKchar with pinyin.
> Eric
>
> [1]: https://github.com/tumashu/pyim/blob/master/pyim-pymap.el
--