Fedora 下安装 SunPinYin 输入法

SunPinYin 是 Sun 亚洲研究中心为 OpenSolaris 开发的一套基于统计学语言模型的拼音输入法,目前已经移植到 iBus 输入法框架下,可以在 Fedora 系统下使用。

1. 安装必要编译工具

在终端下使用如下命令安装:

su -c 'yum install make gcc-c++ ibus-devel python-devel sqlite-devel'

2. 下载源代码包

前往项目主页下载最新的源代码包,建议选择包含 LM 数据文件的,通常是体积较大的那个。本文撰写时最新的为 2.0 RC2。

3.编译并安装

在保存有刚才下载文件的目录依次执行以下命令:

tar xvf ibus-sunpinyin*.tar.gz

cd sunpinyin-2.0

./configure --enable-ibus --disable-documents --prefix=/usr --libexecdir=/usr/lib/ibus-sunpinyin

make

如果编译无误的话,那么执行安装:

su -c 'make install'

4.启用 SunPinYin

右键点击 iBus 的图标,选择“重新启动”。

之后在右键菜单“首选项”-“输入法”的汉语部分就可以看到 SunPinYin 了。此时可以选择向上移动调整成默认汉语输入法。

5. 配置

首次运行时,点击输入法最右侧的齿轮型图标可进入配置界面,在这里可以个人习惯调整一些配置。

比较重要的是在“快捷键”标签页下的“翻页键”设置。

ibus-sunpinyin 项目主页

Sun Input Method 项目主页

Sun PinYin 开发者论坛

Fedora 12 i686 RPM 包 感谢liangsuilong 兄

Fedora 12 x86_64 RPM 包 感谢liangsuilong 兄

Read More:

25 Comments

  1. 1 AntiVirus Commented @ 2009-11-10 5:18Reply to this comment

    一直不知Sunpinyin的优势在哪里

  2. 2 黑日白月 Commented @ 2009-11-10 7:07Reply to this comment

    @AntiVirus:

    相比 ibus-pinyin,SunPinYin 在整句输入上更有优势,而且响应速度更快~

  3. 3 apal-zhg Commented @ 2009-11-10 7:28Reply to this comment

    黑兄,我用五笔的~

  4. 4 awgnl Commented @ 2009-11-10 7:59Reply to this comment

    有没有 SunWubi? ibus 那个五笔太差了。

  5. 5 獨立的圓 Commented @ 2009-11-10 9:33Reply to this comment

    等它可以輸入繁體中文就考慮

  6. 6 zbwu86 Commented @ 2009-11-10 9:41Reply to this comment

    已经可以了~在sun的mercurial有个sunpinyin2

  7. 7 liusp Commented @ 2009-11-10 10:08Reply to this comment

    不知道和fcitx比怎么样?

  8. 8 andrew_t Commented @ 2009-11-10 12:23Reply to this comment

    在archlinux下怎么装?aur上似乎现在还没

  9. 9 ebird Commented @ 2009-11-10 13:06Reply to this comment

    等进fedora源再说...:$

  10. 10 liangsuilong Commented @ 2009-11-10 13:38Reply to this comment

    @ebird:

    这个包要进fedora源估计问题不大,看看哪位大牛submit进去咯

    @黑日白月:

    黑兄
    帮忙加这两个链接到文章里吧,ibus的rpm包,在koji上编译通过的。
    x86_64: http://dl.dropbox.com/u/1352061/ibus-sunpinyin-2.0-0.3.rc2.fc12.x86_64.rpm
    i686: http://dl.dropbox.com/u/1352061/ibus-sunpinyin-2.0-0.3.rc2.fc12.i686.rpm
    不过此包移除了lm_sc.t3g.arpa这个文件,此文件疑似是词库的文件,不过十分之庞大,单纯这个文件都要112MB,若是加入到rpm包,rpm包的体积也会从14MB飙升到40MB...或者以后会分成2个包吧...把这个文件独立一个包存在。

  11. 11 liangsuilong Commented @ 2009-11-10 13:41Reply to this comment

    x86_64的包的链接出了小问题,应该是这个啊!
    http://dl.dropbox.com/u/1352061/ibus-sunpinyin-2.0-0.3.rc2.fc12.x86_64.rpm

  12. 12 hantsy Commented @ 2009-11-10 15:46Reply to this comment

    所有的 linux 平台输入法,可能只有 SUN 的拼音才能与 win 下的输入相提并论。 可惜我只有五笔,。。

  13. 13 hantsy Commented @ 2009-11-10 15:50Reply to this comment

    为什么不开发scim版本,ibus 说实话质量实在不怎么(我是觉得它的质量控制的环节有问题,在ibus 的issues上我报过好几个bug),从f9 用开始试用,f10 中就不用了,重新回到scim,。。每次升级,就可能导致罢工,或带来新问题,或新版本带回了老问题,这对于用户来讲是致命的。

  14. 14 nacre Commented @ 2009-11-10 17:05Reply to this comment

    编译安装后在/usr/share下面有一个文件lm_sc.t3g.arpa,有113M大,而且文件位置也很奇怪,不知道可以删除吗?

  15. 15 nacre Commented @ 2009-11-10 17:07Reply to this comment

    @hantsy: 不是有的吗?

  16. 16 ballkids Commented @ 2009-11-10 17:25Reply to this comment

    ibus我还没装成功过呢

  17. 17 Yong Sun Commented @ 2009-11-10 18:08Reply to this comment

    scim-sunpinyin-2.0的开发还没有开始,欢迎有兴趣的朋友们加入我们 :)

  18. 18 Yong Sun Commented @ 2009-11-10 18:12Reply to this comment

    @nacre, sunpinyin-1.0的scim是有的,不过2.0的还待开发 ...

  19. 19 Yong Sun Commented @ 2009-11-10 18:15Reply to this comment

    @nacre, lmsc.t3g.arpa是用来build lmsc.t3g的一个文本数据文件,build完之后,就可以删除了

  20. 20 Yong Sun Commented @ 2009-11-10 18:17Reply to this comment

    另外,欢迎大家参与我们的讨论组,有什么bug或者功能需求,欢迎随时交流,http://groups.google.com/group/sunpinyin-developers

  21. 21 idiot Commented @ 2009-11-10 18:48Reply to this comment

    因为我刚刚学着写AUR 所以第一次传上去的有错误 还没来的及改就被女朋友揪走了

    现在正常了

    谢谢xifs~

  22. 22 xhh Commented @ 2009-11-10 22:23Reply to this comment

    话说我没装输入法... 输中文就靠vimim了

  23. 23 hongewuyan Commented @ 2009-11-11 10:20Reply to this comment
      • 曾经一度以为这个输入法是一个姓孙的人开发的。。
  24. 24 tchaikov Commented @ 2009-11-11 14:22Reply to this comment

    @nacre

    这应该是个 bug。

  25. 25 Xue Commented @ 2009-11-11 17:28Reply to this comment

    已修正.