YuanhuiQu / ibus-cloud-pinyin

Automatically exported from code.google.com/p/ibus-cloud-pinyin
GNU General Public License v3.0
1 stars 1 forks source link

Google online im support #82

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
根据已有的 engine_sogou.lua 和 engine_qq.lua 改了一个 
engine_google.lua。需要用 python 进行 unicode -> utf-8 转换。

使用:
1. 将 engine_google.lua 放入 ibus-cloud-pinyin-read-only/lua/ 目录;
2. 改动 ibus-cloud-pinyin-read-only/lua/config.lua,增加一行:    
register_engine("Google", data_path .. '/lua/engine_google.lua'),
并可注释掉 engine_sogou 和 engine_qq 两行;
3. 将 utf8.py 放入 /usr/local/sbin/ 下;
4. make; sudo make install 

我在国外,使用 google 的要比 sogou 和 qq 
流畅很多,速度快十倍不止。

欢迎提意见或者给出更好的办法。

Original issue reported on code.google.com by hxj....@gmail.com on 7 Jun 2011 at 4:36

Attachments:

GoogleCodeExporter commented 8 years ago
对了,还要将 Makefile 里:
LUAFILES=lua/config.lua lua/engine_sogou.lua lua/engine_qq.lua 
lua/engine_google.lua
改一下。

Original comment by hxj....@gmail.com on 7 Jun 2011 at 4:56

GoogleCodeExporter commented 8 years ago
呵呵,牛人啊!刚刚去google用了拼音,还不错,准确率和速��
�都可以,我也尝试一下楼主提供的方法,不过国内网络环境�
��同,google的稳定性恐怕难以保证。谢谢楼主,真担心这个软
件的开发会停止下来......

Original comment by xubuntu2...@gmail.com on 11 Jun 2011 at 3:32

GoogleCodeExporter commented 8 years ago
编译成功了哈,不错很好用,不过谷歌拼音在国内用起来的��
�很悲催,网络请求数据经常保持N/A记录......
所以,就参照楼主的方法,把另一位牛人公布的baidu云输入编
译进去,很好用,谢谢!

Original comment by xubuntu2...@gmail.com on 12 Jun 2011 at 2:22