Giter Site home page Giter Site logo

libgooglepinyin's People

Contributors

istvanrath avatar shellexy avatar wengxt avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

libgooglepinyin's Issues

几个改进建议

        1)不能调节每次显示的结果数
        2)部分英文的汉化没做
        3)修改时会出现诡异的字符
        4)再怎么说也该有个设置界面吧?
        5)每次输入的字数限制应该取消

Original issue reported on code.google.com by gjp1120 on 4 Sep 2011 at 1:13

能否提供比较大的词库

What steps will reproduce the problem?
1.现在libgooglepinyin 
提供的系统词库只有1.1M,能否提供比较大的词库?
2.这个地址有很多其它输入法的词库,但没有googlepinyin的。htt
p://code.google.com/p/hslinuxextra/downloads/list
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 23 Aug 2012 at 8:38

候选词个数

怎么固定5个啊 ~~~ 行行好给弄成 10 个吧 ~~~~~~~

Original issue reported on code.google.com by [email protected] on 5 Sep 2011 at 1:15

无法启用

ERROR:dbus.connection:Unable to set arguments (dbus.Struct(('IBusComponent', 
dbus.Dictionary({}, signature=dbus.Signature('sv')), 
dbus.String(u'org.freedesktop.IBus.GooglePinyin'), dbus.String(u'GooglePinyin 
Component'), dbus.String(u'0.1.1'), dbus.String(u'GPL'), dbus.String(u'Jiahua 
Huang <[email protected]>'), dbus.String(u''), dbus.String(u''), 
dbus.String(u''), dbus.Array([], signature=dbus.Signature('v')), 
dbus.Array([dbus.Struct(('IBusEngineDesc', dbus.Dictionary({}, 
signature=dbus.Signature('sv')), dbus.String(u'googlepinyin'), 
dbus.String(u'googlepinyin'), dbus.String(u'GooglePinyin'), 
dbus.String(u'zh_CN'), dbus.String(u'GPL'), dbus.String(u'Jiahu Huang 
<[email protected]>'), dbus.String(u''), dbus.String(u'en'), 
dbus.UInt32(0L), dbus.String(u''), dbus.Array([], signature=None)), 
signature=None)], signature=dbus.Signature('v')), dbus.Array([], 
signature=None)), signature=None),) according to signature u'v': <type 
'exceptions.ValueError'>: Unable to guess signature from an empty list
Traceback (most recent call last):
  File "/usr/share/ibus-googlepinyin/main.py", line 97, in <module>
    main()
  File "/usr/share/ibus-googlepinyin/main.py", line 94, in main
    launch_engine(exec_by_ibus)
  File "/usr/share/ibus-googlepinyin/main.py", line 61, in launch_engine
    IMApp(exec_by_ibus).run()
  File "/usr/share/ibus-googlepinyin/main.py", line 51, in __init__
    self.__bus.register_component(self.__component)
  File "/usr/lib/python2.7/dist-packages/ibus/bus.py", line 132, in register_component
    return self.__ibus.RegisterComponent(component)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 620, in call_blocking
    message.append(signature=signature, *args)
ValueError: Unable to guess signature from an empty list
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/share/ibus-googlepinyin/engine.py", line 54, in <lambda>
    atexit.register(lambda *args: im_flush_cache())
  File "/usr/share/ibus-googlepinyin/googlepinyin.py", line 88, in im_flush_cache
    return ime_pinyin.im_flush_cache()
  File "/usr/lib/python2.7/ctypes/__init__.py", line 366, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 371, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/bin/python: undefined symbol: im_flush_cache
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/share/ibus-googlepinyin/engine.py", line 54, in <lambda>
    atexit.register(lambda *args: im_flush_cache())
  File "/usr/share/ibus-googlepinyin/googlepinyin.py", line 88, in im_flush_cache
    return ime_pinyin.im_flush_cache()
  File "/usr/lib/python2.7/ctypes/__init__.py", line 366, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 371, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/bin/python: undefined symbol: im_flush_cache


请问如何解决?

Original issue reported on code.google.com by [email protected] on 21 Oct 2011 at 10:09

很棒!希望早日出deb包

很棒!希望早日出deb包,编译问题太多了,经常有各种各样��
�依赖。我用ubuntu11.10(amd64)。

建议入ubuntu源(软件中心),这样更利于软件推广使用发展��
�

Original issue reported on code.google.com by [email protected] on 3 Sep 2011 at 12:36

Make it easy to install in 64bit systems

When I install it in my slackware64 box, it complained about could not find 
libgooglepinyin.so on start up. Installing the lib into /usr/lib64 will fix it.

Here is the patch:
================================
diff -r 94bdf5d6af9a CMakeLists.txt                                             

--- a/CMakeLists.txt    Sat Sep 03 09:27:43 2011 +0000
+++ b/CMakeLists.txt    Sat Sep 03 23:09:00 2011 +0800
@@ -19,6 +19,9 @@
 if(NOT DEFINED LIB_INSTALL_DIR)
     set(LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib)
 endif()
+if(DEFINED LIB_SUFFIX)
+    set(LIB_INSTALL_DIR ${LIB_INSTALL_DIR}${LIB_SUFFIX})
+endif()

 set(prefix      ${CMAKE_INSTALL_PREFIX})
 set(exec_prefix ${CMAKE_INSTALL_PREFIX})
=======================================

On 64bit system, one can build it with the -DLIB_SUFFIX=64 option, which is 
standard as least in Slackware.

Besides, it seems there are two set(libdir ${LIB_INSTALL_DIR}) in 
CMakeList.txt. You may only need one.

Original issue reported on code.google.com by [email protected] on 3 Sep 2011 at 3:13

extent_dict时内存越界

extent_dict1
extent_dict2

当输入的拼音串声母太多时,发现parse_mark越界,导致程序崩�
��的现象

Original issue reported on code.google.com by [email protected] on 3 Nov 2011 at 12:46

这个ibus还是停止了比较好

What steps will reproduce the problem?
1.问题一大堆,开发者也不去看看各大Linux论坛和这里的反馈?��
�许开发者是只输英文不输其它文字?
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 26 Jun 2014 at 11:05

看不到language panel,就是那个显示状态的panel

What steps will reproduce the problem?
1. 选择输入法googlepinyin
2. 选项设置language panel为active或者always
3. 没有状态条出现

What is the expected output? What do you see instead?
应该有个panel出现啊,但是没有。

What version of the product are you using? On what operating system?
我用的ubuntu 11.10 beta,如果是这个因素造成的,那我认了

Please provide any additional information below.
这个输入法很顺畅啊,智能组词看起来也不错,能否导入自��
�义词库啊???

Original issue reported on code.google.com by [email protected] on 3 Sep 2011 at 6:02

同待deb包

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 15 Sep 2011 at 3:10

Enter one-line summary

What steps will reproduce the problem?
1.linuxmint12下安装ibus,

2.然后按照此项目网页提供的安装方法编译安装ibus-googlepinyin�
��

3.在ibus里面启动googlepinyin,ctrl+space无法调出googlepinyin输入法

What is the expected output? What do you see instead?
ctrl+space无法调出googlepinyin输入法。

What version of the product are you using? On what operating system?
ibus版本IBus 1.3.99.20110818,系统使用的是linuxmint12

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 20 Feb 2012 at 5:37

engine.py中179行的报错

What steps will reproduce the problem?
1.使用golang语言编译一个go-gtk的界面程序(比如go-gtk的示例程
序)
2.googlepinyin切换为英文模式
3.输入字符后回车,会提示错误

What is the expected output? What do you see instead?

(setargs:3850): IBUS-WARNING **: Process Key Event failed: 
GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code36: 
GDBus.Error:org.freedesktop.DBus.Python.ValueError: Traceback (most recent call 
last):
  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.7/dist-packages/ibus/engine.py", line 188, in ProcessKeyEvent
    return self.__engine.process_key_event(keyval, keycode, state)
  File "/usr/share/ibus-googlepinyin/engine.py", line 179, in process_key_event
    if ascii.isprint(chr(keyval)) and self.__full_width_letter[self.__mode] :
ValueError: chr() arg not in range(256)

What version of the product are you using? On what operating system?

Ubuntu 12.04 ;ibus 1.4.1 ;ibus-googlepinyin 0.1.1+hg20111212-1

Please provide any additional information below.

if ascii.isprint(chr(keyval)) and self.__full_width_letter[self.__mode] :
修改为:
if keyval<256 and ascii.isprint(chr(keyval)) and 
self.__full_width_letter[self.__mode] :

Original issue reported on code.google.com by [email protected] on 7 Jun 2012 at 6:17

请问能否支持双拼?

希望能支持双拼,这样就更哈皮了。
感谢你的劳动!
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 27 Sep 2011 at 11:16

  • Merged into: #14

写了一个简单的 ebuild

https://github.com/wd/overlay/tree/master/app-i18n/libgooglepinyin

我这里安装没啥问题,按需修改吧

Original issue reported on code.google.com by [email protected] on 4 Sep 2011 at 1:26

Automatic jumps of Chinese inputs in kate/kile.

What steps will reproduce the problem?
1. After replace the default input method by libgooglepinyin, it happens to me 
that Chinese inputs in kate or kile will automatically
jump here and there.

2. If I switch back to the default ibus-pinyin, there is no such a
 problem.
3. I guess that there must be some conflicts in the GTK+ related 
implementations between this libgooglepinyin and kate/kile. Right?


Original issue reported on code.google.com by [email protected] on 22 Sep 2011 at 10:00

Candidates in Traditional chinese

When you write in the traditional chinese mode the candidates are still showed 
in simplified chinese (except of the first candidate)

There is problem in the file engine.py
on Lines 291, 339 in two for cycles, where miss the conversion.

  for i in range...
     text = im_get_candidate(i)
+    if self.__trad_chinese[self.__mode]:
+      text = libopencc.convert(text)
+      pass
     self.__lookup_table.append_candidate(ibus.Text(text))
     pass


Original issue reported on code.google.com by [email protected] on 22 Aug 2012 at 9:11

Libreoffice 在英文间输入中文不正常

问题见
http://forum.ubuntu.org.cn/viewtopic.php?f=8&t=343936&start=15

RT @shinery 刚在 Libreoffice 里面用了一下,还是有些 bug 
的,就是我在改一篇英文文章时,想输入汉字,但始终无法��
�确输入,输入的字不对,位置也不对,用 ibus 
自带的拼音是正常的。

Original issue reported on code.google.com by [email protected] on 3 Sep 2011 at 11:01

Attachments:

没有找到双拼模式

是否有计划加入双拼功能?

如果还没有计划,请问能否指点大概需要哪方面的工作?


谢谢

Original issue reported on code.google.com by [email protected] on 6 Sep 2011 at 12:04

加自己词库的功能

不知是否有办法支持把桌面 google 
输入法的词库加入进来。android 上面的词库有点小。

Original issue reported on code.google.com by [email protected] on 4 Sep 2011 at 1:25

Enter one-line summary

What steps will reproduce the problem?
1.在fedora 17 x86_64上编译安装 libgooglepinyin   ibus-googlepinyin 


What is the expected output? What do you see instead?
候选词不出现

What version of the product are you using? On what operating system?
libgooglepinyin  0.1.2 
ibus-googlepinyin 0.1.2
系统是fedora 17 x86_64 

Please provide any additional information below.
我发现一个解决办法
修改ibus-googlepinyin里面的googlepinyin.py
在
            or _a('/usr/lib/googlepinyin/data/dict_pinyin.dat')\
后面添一行
            or _a('/usr/lib64/googlepinyin/data/dict_pinyin.dat')\

Original issue reported on code.google.com by [email protected] on 10 Aug 2012 at 11:16

libgooglepinyin.so.0: cannot open shared object file: No such file or directory

Fedora 15 x86_64 Xfce ibus 1.3.99.20110814

[byvoid@byvoid ~]$ /usr/share/ibus-googlepinyin/main.py
Traceback (most recent call last):
  File "/usr/share/ibus-googlepinyin/main.py", line 27, in <module>
    import factory
  File "/usr/share/ibus-googlepinyin/factory.py", line 22, in <module>
    import engine
  File "/usr/share/ibus-googlepinyin/engine.py", line 33, in <module>
    from googlepinyin import *
  File "/usr/share/ibus-googlepinyin/googlepinyin.py", line 14, in <module>
    ime_pinyin = ctypes.CDLL(ctypes.util.find_library('googlepinyin'), use_errno=True)
  File "/usr/lib64/python2.7/ctypes/__init__.py", line 353, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libgooglepinyin.so.0: cannot open shared object file: No such file or 
directory


[byvoid@byvoid ~]$ ls /usr/lib/libgooglepinyin.so*
/usr/lib/libgooglepinyin.so    /usr/lib/libgooglepinyin.so.0.1.0
/usr/lib/libgooglepinyin.so.0

Original issue reported on code.google.com by [email protected] on 7 Sep 2011 at 3:33

在fedora 17 x86_64使用ibus-googlepinyin候选词不出现(有解决办法)

What steps will reproduce the problem?
1.在fedora 17 x86_64上编译安装 libgooglepinyin   ibus-googlepinyin 
2.
3.

What is the expected output? What do you see instead?
候选词不出现

What version of the product are you using? On what operating system?



Add a comment below

Reported by [email protected] , Today (1 minute ago)

What steps will reproduce the problem?
1.在fedora 17 x86_64上编译安装 libgooglepinyin   ibus-googlepinyin 


What is the expected output? What do you see instead?
候选词不出现

What version of the product are you using? On what operating system?
libgooglepinyin  0.1.2 
ibus-googlepinyin 0.1.2
系统是fedora 17 x86_64 

Please provide any additional information below.
我发现一个解决办法
修改ibus-googlepinyin里面的googlepinyin.py
在
            or _a('/usr/lib/googlepinyin/data/dict_pinyin.dat')\
后面添一行
            or _a('/usr/lib64/googlepinyin/data/dict_pinyin.dat')\


Original issue reported on code.google.com by [email protected] on 10 Aug 2012 at 11:20

输入时无候选词

Fedora 
15环境,所有的dependency都已安装(那个opencc也是),可是输��
�时仍没有候选词。

Original issue reported on code.google.com by [email protected] on 3 Nov 2011 at 5:22

libgooglepinyin fail to build dictionary on mips powerpc s390 s390x and sparc

Logs are here:

1.mips: 
https://buildd.debian.org/status/fetch.php?pkg=libgooglepinyin&arch=mips&ver=0.1
.1-1&stamp=1315622167

2.powerpc: 
https://buildd.debian.org/status/fetch.php?pkg=libgooglepinyin&arch=powerpc&ver=
0.1.1-1&stamp=1315609078

3.s390: 
https://buildd.debian.org/status/fetch.php?pkg=libgooglepinyin&arch=s390&ver=0.1
.1-1&stamp=1315611000

4.s390x: 
http://buildd.debian-ports.org/status/fetch.php?pkg=libgooglepinyin&arch=s390x&v
er=0.1.1-1&stamp=1315632108

5.sparc: 
https://buildd.debian.org/status/fetch.php?pkg=libgooglepinyin&arch=sparc&ver=0.
1.1-1&stamp=1315630148

Error message (example on s390x):
make[3]: Leaving directory 
`/build/buildd-libgooglepinyin_0.1.1-1-s390x-9yrQ2L/libgooglepinyin-0.1.1/obj-s3
90x-linux-gnu'
make -f data/CMakeFiles/datafile.dir/build.make 
data/CMakeFiles/datafile.dir/build
make[3]: Entering directory 
`/build/buildd-libgooglepinyin_0.1.1-1-s390x-9yrQ2L/libgooglepinyin-0.1.1/obj-s3
90x-linux-gnu'
/usr/bin/cmake -E cmake_progress_report 
/build/buildd-libgooglepinyin_0.1.1-1-s390x-9yrQ2L/libgooglepinyin-0.1.1/obj-s39
0x-linux-gnu/CMakeFiles 
[ 97%] Generating dict_pinyin.dat
cd 
/build/buildd-libgooglepinyin_0.1.1-1-s390x-9yrQ2L/libgooglepinyin-0.1.1/obj-s39
0x-linux-gnu/data && ../tools/dictbuilder 
/build/buildd-libgooglepinyin_0.1.1-1-s390x-9yrQ2L/libgooglepinyin-0.1.1/data/ra
wdict_utf16_65105_freq.txt 
/build/buildd-libgooglepinyin_0.1.1-1-s390x-9yrQ2L/libgooglepinyin-0.1.1/data/va
lid_utf16.txt
Build dictionary unsuccessfully.
make[3]: *** [data/dict_pinyin.dat] Error 255
make[3]: Leaving directory 
`/build/buildd-libgooglepinyin_0.1.1-1-s390x-9yrQ2L/libgooglepinyin-0.1.1/obj-s3
90x-linux-gnu'
make[2]: *** [data/CMakeFiles/datafile.dir/all] Error 2
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[2]: Leaving directory 
`/build/buildd-libgooglepinyin_0.1.1-1-s390x-9yrQ2L/libgooglepinyin-0.1.1/obj-s3
90x-linux-gnu'
make[1]: Leaving directory 
`/build/buildd-libgooglepinyin_0.1.1-1-s390x-9yrQ2L/libgooglepinyin-0.1.1/obj-s3
90x-linux-gnu'
make: *** [build] Error 2

Original issue reported on code.google.com by [email protected] on 26 Sep 2011 at 1:11

Shift 中英切换问题

问题描述:

1. 启动输入法
2. 按 Shift 之后输入法仍停留在中文状态
3. 再按一次 Shift 才切换到英文状态
4. 此时按一次 Shift 即可来回切换
5. 在任一状态下输入任意字符后又出现 2-3 的情况


Original issue reported on code.google.com by iWinux on 2 Sep 2011 at 3:39

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.