Bug 468964 - scim-python-pinyin db file too big!
Summary: scim-python-pinyin db file too big!
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: scim-python
Version: 10
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peng Huang
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-29 08:04 UTC by Jens Petersen
Modified: 2009-10-10 02:54 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-10-10 02:54:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jens Petersen 2008-10-29 08:04:31 UTC
Description of problem:
The py.db file in scim-python-pinyin is 120MB it seems very big: eg scim-pinyin 

Steps to Reproduce:
1. du -sh /usr/share/scim-python/engine/PinYin
2. du -sh /usr/share/scim/pinyin
  
Actual results:
1. 121M
2. 4.5M

Expected results:
1. similar to scim-pinyin

Additional info:
This means we can't currently use scim-python-pinyin as default IM on Live images.

Comment 1 Peng Huang 2008-11-11 08:19:50 UTC
Python pinyin has 837442 phrases in database. scim-pinyin only has 160000 phrases. It is the main reason of this problem. And python pinyin use sqlite as data engine. sqlite uses many space for creating index. It is very useful for performance.
So this problem can not be fixed easily. :(

BTW, I created a squashfs contain the py.db. Its size is 39M.

Comment 2 Bug Zapper 2008-11-26 04:24:36 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Peng Huang 2009-10-10 02:54:12 UTC
scim-python-pinyin is obsoleted now. We move to ibus-pinyin. So make it wontfix.


Note You need to log in before you can comment on or make changes to this bug.