Package: skksearch Version: 0.0-15 Severity: wishlist
As a maintainer of the skksearch package, I have been looking for a way
to improve configuration of dictionaries. This report provides a plan
and also is a reminder.
Currently, skksearch provides default configuration as follows:
# type:file
cdb:/usr/share/skk/SKK-JISYO.cdb
# plain:/usr/share/skk/SKK-JISYO
# skkdic-extra
# plain:/usr/share/skk/SKK-JISYO.JIS2
# plain:/usr/share/skk/SKK-JISYO.JIS2004
# plain:/usr/share/skk/SKK-JISYO.JIS3_4
# plain:/usr/share/skk/SKK-JISYO.assoc
# plain:/usr/share/skk/SKK-JISYO.china_taiwan
# plain:/usr/share/skk/SKK-JISYO.fullname
# plain:/usr/share/skk/SKK-JISYO.geo
# plain:/usr/share/skk/SKK-JISYO.hukugougo
# plain:/usr/share/skk/SKK-JISYO.itaiji
# plain:/usr/share/skk/SKK-JISYO.itaiji.JIS3_4
# plain:/usr/share/skk/SKK-JISYO.jinmei
# plain:/usr/share/skk/SKK-JISYO.law
# plain:/usr/share/skk/SKK-JISYO.mazegaki
# plain:/usr/share/skk/SKK-JISYO.noregist
# plain:/usr/share/skk/SKK-JISYO.not_wrong
# plain:/usr/share/skk/SKK-JISYO.notes
# plain:/usr/share/skk/SKK-JISYO.okinawa
# plain:/usr/share/skk/SKK-JISYO.propernoun
# plain:/usr/share/skk/SKK-JISYO.pubdic+
# plain:/usr/share/skk/SKK-JISYO.requested
# plain:/usr/share/skk/SKK-JISYO.station
# plain:/usr/share/skk/SKK-JISYO.zipcode
# plain:/usr/share/skk/SKK-JISYO.office.zipcode
Obviously, the default setting uses a cdb-style dictionary in the
skkdic-cdb package. However, the skksearch package depends on
`skkdic-cdb | skkdic | skkdic-extra'. So, users must edit
/etc/skksearch.conf if they choose to install other dictionary packages
than skkdic-cdb.
Of course, this is a petty problem; users just tweak the configuration
file to use other dictionary data. However, it would be better if we
can provide default settings based on installed dictionary packages. I
am considering to make an improvement described as follows, which makes
the situation better:
* skksearch reads configuration files in /etc/skksearch.conf.d (in a way
similary to how run-parts works) instead of /etc/skksearch.conf.
* skkdic{,-cdb,-extra} installs configuration files to that directory.
(I had noticed this issue for a long time and intended to make an
improvement some time, but the priority had been so low. I thank to
Kenshi Muto (kmuto) for pointing out the issue and giving a suggestion
to resolve the problem via IRC. The discussion with him (in Japanese)
is attached to this report.)
Thanks,
-nori
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP)
skksearch.log.gz
Description: Binary data

