1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164
|
SDIC ȡ륬
ʸǤϡSDIC ڤ˥ȡ뤹ˤĤƤޤ
Ǥꤷ䤹ǡȤơΡפʤɤۤƤGENE
פꡢμȤΥȡˡˤĤƼ
* GENE95 http://www.forest.impress.co.jp/dict.html#gene95
* EDICT ftp://ftp.u-aizu.ac.jp/pub/SciEng/nihongo/ftp.cc.monash.edu.au/
ȡ ( UNIX Ķξ )
(1) ΥեƱǥ쥯ȥˡGENEפΥǡ gene95.lzh
gene95.tar.gz ȡEDICTפΥǡ edict.gz ֤Ʋ
( make dict ˼ưŪŸޤΤǡưŸ
ɬפϤޤ)
(2) ./configure ¹ԤơȡΥǥ쥯ȥȡǥեȤ
Ѥ뼭ưꤷޤ
GENEפϱ¼ʤΤǤ±ѼѴ뤿Υ
ץ jgene.perl ƱƤޤѤơGENE
±ѼȤƤѤϡEDICTפΥǡפޤ
ѴˤϿʬޤ
դˡEDICTפ±ѼʤΤǤ¼Ѵ
Ѥ뤳ȤǤޤξϡGENEפΥǡפȤʤ
ޤѴˤϿʬޤ
ʥץ
--with-emacs=EMACS compile with EMACS [EMACS=emacs, xemacs...]
+ Ѥ Emacs μꤹ
--with-lispdir=DIR emacs lisp files go to DIR [guessed]
+ Lispץȡ뤹ǥ쥯ȥꤹ
--with-dictdir=DIR dictionary files go to DIR [/usr/local/share/dict]
+ եȡ뤹ǥ쥯ȥꤹ
--with-dicttype=TYPE use TYPE of dictionaries [sdic]
+ μꤹ sdic ޤ compat
(3) make ¹Ԥ Lisp ץޤ
(4) make install ¹Ԥ Lisp ץȡ뤷ޤ
ȡΥǥ쥯ȥˤäƤ root øɬפǤ
(5) make install-info ¹Ԥ Info ȡ뤷ޤEmacs
ΥСˤäƤ˽Ǥʤ礬ޤξϡ
ľ sdic.texi Emacs ɤ߹Ǥ顢M-x texinfo-format-buffer
ԤäơȤǥȡ뤷Ƥ
******************************************************************
ȡѤμեѤˤϡ(6),(7) νɬ
פޤǥեȤΥǥ쥯ȥ (/usr/local/share/dict)
ʳ˼եǼƤϡconfigure
--with-dictdir=DIR ץǡΥǥ쥯ȥꤷƤ
******************************************************************
(6) make dict ¹ԤƼեޤ
(7) make install-dict ¹ԤƼեȡ뤷ޤ
ȡΥǥ쥯ȥˤäƤ root øɬפǤ
(8) ~/.emacs ԽƸĿԤޤsample.emacs 㤬
ƤޤΤǡͤˤƤΤޤȤϡ
make config
Ȥ꤬λޤMule/Emacs C-c w ȥפȡ
sdic-mode ưϤǤ
Emacs20 ޤ XEmacs ǻѤϡˡ
(set-language-environment "Japanese")
ꤵƤ뤫ǧƤ
ȡ ( Windows Ķξ )
Windows ĶǤϡɬפʥޥɤƤ뤿ˡ嵭 UNIX Ѥ
ȡ¹Ԥ뤳ȤϺǤΤᡢMule for windows
ޤ Meadow ʳΥޥɤɬפȤʤ褦ʴʰץȡ륹
ץȤѰդޤʲˤμޤ
(1) GENEΥǡ gene95.lzh ޤ gene95.tar.gz Ÿơ
gene.txt ΥեƱǥ쥯ȥ֤Ʋ
(2) EDICTΥǡ edict.gz Ÿơedict ΥեƱ
ǥ쥯ȥ֤Ʋ
(3) Υޥɤ¹ԤơȡԤʤޤ
% mule -batch -q -l install.el -f make-sdic
ΥץȤϡ¹Ԥ줿 Meadow δĶŬڤʥȡ
ꤷơȡ¹Ԥޤºݤ˲˥ȡ뤵
뤫ǧϡΤ褦ˤƤ
% mule -batch -q -l install.el -f make-sdic -n
ȡΥǥ쥯ȥѹϡʲΥץ
ꤷƤ
--with-lispdir=DIR emacs lisp files go to DIR [guessed]
+ Lispץȡ뤹ǥ쥯ȥꤹ
--with-dictdir=DIR dictionary files go to DIR [guessed]
+ եȡ뤹ǥ쥯ȥꤹ
--infodir=DIR Info files go to DIR [guessed]
+ Info ȡ뤹ǥ쥯ȥꤹ
ʤΥץϡ`-f make-sdic' ˻ꤹ褦
ˤƤe.g.
% mule -batch -q -l install.el -f make-sdic --with-lispdir=C://home/elisp
˼ե뤬ȡ뤵Ƥϡ(1),(2) νɬ
פޤǥեȰʳΥǥ쥯ȥ˼ȡ
뤷ϡΥǥ쥯ȥץǻꤹɬפޤ
(4) ~/.emacs ԽƸĿԤޤsample.emacs 㤬
ƤޤΤǡͤˤƤ
ֱѼϺפȤΥȡ
ֱѼϺפȤϡNifty-Serve ѲåեޤϽҤǽ
ʼǤܤϤ°ΥɥȤȤƲñ
ʥƥȷۤƤ¼ȤƤϡ餯Τ
ΤȻפޤǰʤ饤ͥåȾǤۤƤޤ
ֱѼϺפѤϡѼϺե뷲ĥǥ
ȥ֤configure ˤΥǥ쥯ȥ --with-eijirou=DIR
ץǻꤷޤ (ɸǤ configure ./eijirou Ĵ٤ޤ)
e.g.
% ./configure --with-eijirou=/somewhere/eijirou
# configure Ʊǥ쥯ȥ gene95.lzh, gene95.tar.gz, edict.gz
# ֤ƤȤͥ褷Ƥޤޤդ
ֱѼϺפ϶ˤƵʤΤǡSDICǤ grep ˤ븡
˻֤ޤǽʤ SUFARY Ѥ뤳Ȥ
ᤷޤܺ٤ˤĤƤ Info ȤƲ
COMPATǤСˡפȴפ˸¤ޤ
look ޥɤѤƽʬ˼Ū®٤ǸǤޤCOMPAT
Ȥˤ configure --with-dicttype=compat ȥץ
ꤷޤ
ޤ±ѼϺפȤ±ѼۤƤޤѤ
ֱѼϺפȴŪƱǤ--with-waeijirou=DIR ץ
ǥǥ쥯ȥꤷޤ (ɸǤ configure ./waeijirou
Ĵ٤ޤ) e.g.
% ./configure --with-waeijirou=/somewhere/waeijirou
|