Package: anthy
Version: 9100-1
Severity: normal

I suggest to modify /usr/sbin/update-anthy-dics as follows.
Please also refer anthy-9100/alt-cannadic/How-to-use.txt.

~$ diff -c src/anthy-9100/debian/update-anthy-dics /usr/sbin/update-anthy-dics 
*** src/anthy-9100/debian/update-anthy-dics     2007-07-11 09:10:04.000000000 
+0900
--- /usr/sbin/update-anthy-dics 2007-07-14 04:00:06.000000000 +0900
***************
*** 2,8 ****
  
  DICDIR=/var/lib/anthy
  METADICDIR=/usr/share/anthy/dic
! CANNADIC='gcanna.ctd gcannaf.ctd'
  EXTRADIC="$METADICDIR/*.t"
  
  DEPGRAPHDIR=/var/lib/anthy/depgraph
--- 2,8 ----
  
  DICDIR=/var/lib/anthy
  METADICDIR=/usr/share/anthy/dic
! CANNADIC='gcanna.ctd gcannaf.ctd gtankan.ctd'
  EXTRADIC="$METADICDIR/*.t"
  
  DEPGRAPHDIR=/var/lib/anthy/depgraph
***************
*** 23,29 ****
  fi
  
  echo "set_input_encoding eucjp" >> $TMPDICTCONFIG
! echo "set_exclude_wtypes #CN #CNS" >> $TMPDICTCONFIG
  for file in $CANNADIC; do
        case $file in
        *.ctd)
--- 23,29 ----
  fi
  
  echo "set_input_encoding eucjp" >> $TMPDICTCONFIG
! #echo "set_exclude_wtypes #CN #CNS" >> $TMPDICTCONFIG
  for file in $CANNADIC; do
        case $file in
        *.ctd)
***************
*** 33,44 ****
                ;;
        esac
  done
! echo "clear_exclude_wtypes" >> $TMPDICTCONFIG
  
! echo "read $METADICDIR/katakana.t" >> $TMPDICTCONFIG
  echo "read $METADICDIR/adjust.t" >> $TMPDICTCONFIG
  echo "read $METADICDIR/name.t" >> $TMPDICTCONFIG
  echo "read $METADICDIR/compound.t" >> $TMPDICTCONFIG
  
  addondics=$(sort -u $CONFIG| tr '\n' ' '| sed 's/\ $//')
  
--- 33,45 ----
                ;;
        esac
  done
! #echo "clear_exclude_wtypes" >> $TMPDICTCONFIG
  
! #echo "read $METADICDIR/katakana.t" >> $TMPDICTCONFIG
  echo "read $METADICDIR/adjust.t" >> $TMPDICTCONFIG
  echo "read $METADICDIR/name.t" >> $TMPDICTCONFIG
  echo "read $METADICDIR/compound.t" >> $TMPDICTCONFIG
+ echo "read $METADICDIR/extra.t" >> $TMPDICTCONFIG
  
  addondics=$(sort -u $CONFIG| tr '\n' ' '| sed 's/\ $//')
  
***************
*** 48,54 ****
        fi
  done
  
! echo "read $METADICDIR/placename.t" >> $TMPDICTCONFIG
  echo "build_reverse_dict" >> $TMPDICTCONFIG
  echo "read_uc $METADICDIR/udict" >> $TMPDICTCONFIG
  echo "set_dict_encoding utf8" >> $TMPDICTCONFIG
--- 49,55 ----
        fi
  done
  
! #echo "read $METADICDIR/placename.t" >> $TMPDICTCONFIG
  echo "build_reverse_dict" >> $TMPDICTCONFIG
  echo "read_uc $METADICDIR/udict" >> $TMPDICTCONFIG
  echo "set_dict_encoding utf8" >> $TMPDICTCONFIG


 Thanks,

 --
 Ippei Tamura <denson27ï¼ gmail.com>


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22.1
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP)
Shell: /bin/sh linked to /bin/bash

Versions of packages anthy depends on:
ii  debconf [debconf-2.0]         1.5.13     Debian configuration management sy
ii  libanthy0                     9100-1     Anthy runtime library
ii  libc6                         2.6-2      GNU C Library: Shared libraries

anthy recommends no packages.

-- debconf information:
* anthy/dictionaries: base.t, extra.t


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to