星期四 六月 18, 2009

非常感谢Zheming兄,不辞辛苦编译了Mac OS 10.6上SunPinyin输入法程序以及安装包,喜欢尝鲜朋友们可以下载使用了。因为10.6还没有最终发布,而且所依赖的第三方框架还没有更新,现在提供下载的版本只是一个临时的测试版本。

SunPinyin-1.0-SnowLeopard.zip

星期二 五月 19, 2009

http://wikis.sun.com/display/g11n/SunPinyin-2.0+Project+Plan+and+Status+Tracking

M1: 2009/05 ~ 2009/06

  1. re-implement the CPinyinTrie classes to use encoded syllable (instead of pinyin character) as key to lookup the systeam lexicon.
  2. implement the static Double-Array-Trie class, to load pinyin suffix trie data, assisting the pinyin segmentation.
  3. define the IPySegmentor interface, and implement the QuanPin segmentor basing on the pinyin suffix trie.

M2: 2009/06 ~ 2009/07

  1. re-implement the CIMIContext class basing on the new data strcture which would be largely changed.
  2. implement the CUserDict class (using SQLite).
  3. re-implement the classic view, and update gtk-standalone accordingly, to test the classic view.

M3: 2009/07 ~ 2009/08

  1. re-implement the modern view.
  2. re-implement the user configuration.
  3. testing the functionalities of views with gtk-standalone, and resolve found issues/bugs.

M4: 2009/08 ~ 2009/09

  1. update the Mac OS porting (by Yong, jjgod or other community developers)
  2. update the scim-sunpinyin porting (by Kov Chai or other community developers)
  3. update the iiimf-cle-sunpinyin porting (low priority, dueto the local file access limitation of iiimf, userdict may not be enabled)

M5: 2009/09 ~ 2009/10

  1. port to ibus framework (by Yong or other community developers)
  2. add Double Pinyin support
  3. bug fixes

Future Plans

  1. add ZhuYin support
  2. add Simplified Chinese -> Traditional Chinese conversion on Mac OS porting (scim has this feature as a framework facility)
  3. add more new words in dictionary, and retrain the language model
    ... ...

星期三 四月 29, 2009

感谢jjgod的贡献,为SunPinyin加入了自动更新的功能,

他还使用了新的打包工具iceberg,并为安装程序开发了一个插件,以支持检测和下载数据文件,

除此之外,本次更新还修正了“强制使用英文布局”选项无法正常工作的问题。

大家可以从这里下载最新的安装包。

星期二 四月 07, 2009

此次更新的主要内容包括:

  1. 解决了在PowerPoint 2008中使用经典模式无法输入中文的问题(严格来说是PowerPoint的bug)
  2. 修正了应用程序失去焦点会重置中英文模式的问题
  3. 修正了在输入法弹出的对话框中无法输入的问题(感谢tianyu263的帮助)

大家可以从这里下载最新的安装包。在安装完成之后,请到http://src.opensolaris.org/.../sunpinyin/ime/data下载lm_sc.t3g.le以及pydict_sc.bin.le(如果是PowerPC请下载后缀为'.be'的对应文件),将'.le'(或'.be')的后缀去掉,并拷贝到/Library/Input Methods/SunPinyin.app/Contents/Resources目录下。或者从苹果驿站下载数据安装包来安装。

星期六 三月 28, 2009

I just got a question from the comments of last entry,
No offense, but I'm just curious why does Sun spend money on developing an input method for Mac OS? Or Is this just a personal project?
And here comes my reply, that I'd like to post as new entry too,

Actually, the core of SunPinyin is the conversion engine based on statistical language model, and it can have different front-ends, like gtk_standalone (for debugging) iiimf-cle, scim, beCJK, and leopard/IMKit as well. The basic idea of porting SunPinyin to leopard/IMKit is to let more people to know about this input method, and attract some Mac developers to join this project, and hopefully join the engine development eventually. Another reason is that I'm not satisfied with the existing input methods on Mac.

The returns are that we really got a lot of valuable feedback and responses from the Mac users (like Zheming), and attracted several developers (including a UI designer) to join us. Though I'm hoping some one could take over the maintenance of leopard/IMKit porting from me :) All the contributions from Mac world, are helping us to make SunPinyin better, and better, on all platforms.

While, yes, you're right, it's more likely a personal project, I mostly spent spare time on that. Though the initial porting did take several working days. And, I'd appreciate the supports from my managers.

Hopes you enjoy it :)

星期五 三月 27, 2009

此次更新的主要内容包括:

  1. 替换了新的SunPinyin图标(感谢chumsdock同学的贡献)
  2. 修正了Shift+其他组合键会造成中英文状态切换的问题
  3. 改善了即时输入模式,可以输入无效的拼音字符,Return键不再是进行音字转换而是提交preedit,Shift+Return则把整个输入缓冲区中的拼音字符提交到应用程序中,方便大家临时输入英文的需要

大家可以从这里下载最新的安装包。在安装完成之后,请到http://src.opensolaris.org/.../sunpinyin/ime/data下载lm_sc.t3g.le以及pydict_sc.bin.le(如果是PowerPC请下载后缀为'.be'的对应文件),将'.le'(或'.be')的后缀去掉,并拷贝到/Library/Input Methods/SunPinyin.app/Contents/Resources目录下。或者从苹果驿站下载数据安装包来安装。

星期六 三月 21, 2009

I just committed the python binding of CPinyinTrie class in SunPinyin -- pytrie.pyx (written in cython). Together with pyslm extension, you (and I off course) are able to start building the input method engine with python. And I'm also prototyping some new stuff for SunPinyin-2.0 with Python (in very early stage).

Who has interests in porting SunPinyin to ibus? ;)

To build it on Solaris with SunStudio,
$ export CC=/opt/SUNWspro/bin/CC
$ export LDFLAGS="-lCrun -lCstd"

星期二 三月 17, 2009

感谢chumsdock同学的贡献,SunPinyin有了一个非常好看的图标!由于一些流程方面的原因,我暂时还无法直接提交到repository中。大家可以通过下面的方法替换SunPinyin原有的图标。

  1. 首先下载图标文件,并解压缩
  2. $ sudo cp SunPinyin.icns /Library/Input\ Methods/SunPinyin.app/Contents/Resources
  3. $ sudo rm /Library/Input\ Methods/SunPinyin.app/Contents/Resources/SunPinyin.tiff
  4. 编辑/Library/Input\ Methods/SunPinyin.app/Contents/Info.plist,将SunPinyin.tiff替换为SunPinyin.icns
  5. 重新登陆

这样大家就可以看到新的图标了!

星期一 三月 09, 2009

此次更新的主要内容包括:

  1. 修正了光标跟随在副显示器上不能正常工作的bug
  2. 加入了用Shift进行中英文切换的选项
  3. 加入了Growl的支持,在使用Shift切换时通知“已切换至英文模式”

越发觉得SunPinyin的Logo有些简陋,期待有朋友能帮忙设计一个,呵呵 ...

大家可以从这里下载最新的安装包。在安装完成之后,请到http://src.opensolaris.org/.../sunpinyin/ime/data下载lm_sc.t3g.le以及pydict_sc.bin.le(如果是PowerPC请下载后缀为'.be'的对应文件),将'.le'(或'.be')的后缀去掉,并拷贝到/Library/Input Methods/SunPinyin.app/Contents/Resources目录下。或者从酷本社区下载数据安装包来安装。

星期五 三月 06, 2009

此次更新的主要内容包括:

  1. 加入了候选窗口的前景色和高亮色的设置
  2. 修正了未设置颜色时,首选项中的颜色栏为黑色的bug
  3. 加入了使用英文键盘布局的设置(感谢tianyu263的帮助)
  4. 修正了两个可能导致crash的bug

大家可以从这里下载最新的安装包。在安装完成之后,请到http://src.opensolaris.org/.../sunpinyin/ime/data下载lm_sc.t3g.le以及pydict_sc.bin.le(如果是PowerPC请下载后缀为'.be'的对应文件),将'.le'(或'.be')的后缀去掉,并拷贝到/Library/Input Methods/SunPinyin.app/Contents/Resources目录下。或者从酷本社区下载数据安装包来安装。

This blog copyright 2009 by yongsun