Sunday, 15 February 2009

SHR 20090215 + Enscribi + yphonekitd “文言文”方案

现在我很激动,Neo Freerunner可以输入中文了。中文输入法来源于openmoko社区的邮件列表,原文如下:
Hi,

This is to announce the first release of Enscribi, a new handwriting
recognition input method I've been working on. The main focus, and the
only thing supported for now, is writing Japanese and Chinese
characters (and numbers, but numbers only won't get you far...). It
uses the excellent Zinnia recognition engine for the actual
recognition. If anyone is interested, please take a look.

There's a project page at http://olofsj.github.com/enscribi/ with
screenshots and some more information.

There are packages on opkg.org for trying it out (only tested on FSO
milestone 5). The following packages are available:
http://www.opkg.org/package_133.html Enscribi
http://www.opkg.org/package_130.html Zinnia (required dependency)
http://www.opkg.org/package_131.html Zinnia-tomoe-ja (for Japanese support)
http://www.opkg.org/package_132.html Zinnia-tomoe-zh (for Chinese support)

Also, you need a Japanese or Chinese font to see the characters
(should be available in the usual repos).

The code is hosted on Github at http://github.com/olofsj/enscribi/tree/master
当即就在FSO上试了一下,在zhone中没有办法输入,后来从作者那里得知zhone所用的Edje库(Enlightenment的图形和布局库)不支持多字节字符,无奈。。。。由于目前此输入法需要有frameworkd的支持,所以使用的发行版除了FSO之外还有SHR(补充:现在openmoko的daily build在调整过后也是FSO,不再是原来的openmoko ASU了,但是实在不稳定,故不考虑),今天寻了一下SHR的buildhost,发现了最新的20090215 lite image,下了一个来测试Enscribi,结果还是有点失望,SHR自带的openmoko-message3也不能输入中文(貌似也是用Edje的),既然Edje不行,那就找GTK的吧,在opkg.org上寻了一番发现了yphonekitd(http://www.opkg.org/package_109.html),这个是一个可以用来替换SHR上ophonekitd的软件,可以用来接听电话,发送短信和管理通讯录,基于py-gtk,二话不说,先装上,结果令人惊喜,在编辑短消息的时候可以输入中文了,可以正常发送,在我的Nokia 6300上接受了可以阅读。YEAH!!!!!
有一些不太满意的地方:
1. 对复杂笔画中文字体的识别实在是。。。。。。。。。。。要想办法改进一下输入引擎的“笔画库”。
2. 还不知道怎么输入标点,看样子要回去补习文言文了。。。。。。

No comments:

Post a Comment