From: Zhu Zihao <all_but_last@163.com>
To: tumashu <tumashu@163.com>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: [ELPA] New package: pyim
Date: Tue, 23 Feb 2021 00:29:42 +0800 [thread overview]
Message-ID: <86o8gcm5ft.fsf@163.com> (raw)
In-Reply-To: <1ec6a274.1f71.177c7c0ae20.Coremail.tumashu@163.com>
Hi, tumashu.
I'm a big fan of pyim input method, I would be very happy to see pyim
can be a part of GNU ELPA or even Emacs!
I just do some research on the issue we faced. We can extract the
bopomofo data from unihan database.
For example, the pinyin of CJK character "爱"(means love) is "ai". Can be found at
https://www.unicode.org/cgi-bin/GetUnihanData.pl?codepoint=7231.
The full database can be downloaded at
https://www.unicode.org/Public/UCD/latest/ucd/Unihan.zip. Unihan
database is licensed under Unicode license, a free license approved by
FSF(https://www.gnu.org/licenses/license-list.html#Unicode).
We can write a simple program to extract the pinyin of needed characters
in Unihan_Readings.txt. Unihan database contains almost all reading of
CJK character, we have to limit it to a subset. Maybe refer to
《通用汉字规范表》 (Table of General Standard Chinese Characters)
http://www.gov.cn/gzdt/att/att/site1/20130819/tygfhzb.pdf.
--
Retrieve my PGP public key:
gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F
Zihao
next prev parent reply other threads:[~2021-02-22 16:29 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-22 2:42 [ELPA] New package: pyim tumashu
2021-02-22 2:55 ` tumashu
2021-02-22 3:01 ` [ELPA] " Stefan Monnier
2021-02-22 3:20 ` tumashu
2021-02-22 4:42 ` Stefan Monnier
2021-02-22 4:56 ` tumashu
2021-02-22 6:31 ` Eric Abrahamsen
2021-02-22 6:49 ` tumashu
2021-02-22 8:19 ` Clément Pit-Claudel
2021-02-22 8:47 ` tumashu
2021-02-22 16:29 ` Zhu Zihao [this message]
2021-02-22 16:36 ` Zhu Zihao
2021-02-22 17:02 ` Clément Pit-Claudel
2021-02-23 6:11 ` tumashu
2021-02-22 15:09 ` Eli Zaretskii
2021-02-22 17:41 ` Robert Pluim
2021-02-22 18:28 ` Eli Zaretskii
2021-02-22 18:40 ` Robert Pluim
2021-02-22 18:51 ` Eli Zaretskii
2021-02-22 22:27 ` Stefan Monnier
2021-02-23 3:30 ` Eli Zaretskii
2021-02-23 5:07 ` Stefan Monnier
2021-02-23 9:08 ` tumashu
2021-02-23 15:18 ` Eli Zaretskii
2021-02-23 16:17 ` Stefan Monnier
2021-02-23 16:37 ` Eli Zaretskii
2021-03-07 8:44 ` William Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86o8gcm5ft.fsf@163.com \
--to=all_but_last@163.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=tumashu@163.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.