aka:辞書/辞典
- 辞書いろいろ
- Various Links
- 電子出版関連のリンク集
- UNIXで電子辞書をしゃぶりつくそう。This article is very readable.
- EB series support page
- FreePWING
- Logophile
- T.B.D.
- Dictionaries
- FPWBOOK。This is a list of dictionaries that FreePWING can deal with.
- T.B.D.
- Various Links
- Various Apps for Dictionaries
- ispell
- 今自分が使っているバージョンは?
manで調べる。International Ispell Version 3.1.20, 10/10/95 だった。これはMacPortsで入れた。ちなみにInternational Ispellの最新バージョンは3.3.02。International Ispell - いくつかのモードで自動起動
(add-hook 'org-mode-hook (lambda () (turn-on-flyspell))) (add-hook 'text-mode-hook (lambda () (turn-on-flyspell))) (add-hook 'mew-draft-mode-hook (lambda () (turn-on-flyspell)))
- 今自分が使っているバージョンは?
- EPWING
- 基本情報はEPWING in Wikipedia
- 基本情報はEPWING in Wikipedia
- EBライブラリ
- lookup
- EmacsでEB/EPWINGを使う。
- Emacs 23ならLookup2.0。漢字データベース。 This site contains good summary.
- lookup-1.99.95玉をDLしたところ、configureスクリプトが含まれていなかった。Autoconfすればいいんだけど、萎えた。
- なら、CVS版を使う。
$ cvs -d:pserver:anonymous@lookup.cvs.sourceforge.net:/cvsroot/lookup login $ cvs -z3 -d:pserver:anonymous@lookup.cvs.sourceforge.net:/cvsroot/lookup co -P lookup
No password was required for anonymous login. Just press enter key.
Create configure script with Autotools. (see aka:GNU Autotools.)
After that,$ ./configure --with-emacs=/Applications/Emacs-23.2/Emacs.app/Contents/MacOS/Emacs \ --with-lispdir=/Users/aka/Dropbox/emacs/.emacs.23.2.d/lisp/ \ --infodir=/Users/aka/Dropbox/emacs/.emacs.23.2.d/info/ $ make
and this make failed, because I don't have emacs-w3m and lookup requires it. Oops.
The error still exists even after installation of emacs-w3m... So I byte-compiled and installed partially by hand, i.e. created lookup-autoloads.el with make, and copied the lisp directory to the place where load-path contains. - eb library
- Lookup requires eblook to treat ebwing dictionaries. And eblook requires eb library. So I installed eb library 4.4.3 first.
- eblook
- Oops. Eblook already exists in MacPorts. Just sudo port install eblook is sufficient...
- ispell
- Convert LDOCE5 into epwing format.
- Preliminary tasks
$ sudo port seflupdate $ sudo port install ImageMagick p5-perlmagick $ sudo port install p5-libxml-enno $ cd ~/tmp/ $ curl -O ftp://ftp.sra.co.jp/pub/misc/freepwing/freepwing-1.6.1.tar.bz2 $ tar jxf freepwing-1.6.1.tar.bz2 $ cd freepwing-1.6.1 $ ./configure $ make $ sudo make install
- Main tasks
- References
- Tasks
- Firstly,
$ cd ~/tmp $ curl -O http://www.geocities.co.jp/tak492/ldoce5-fpw-20100111.tar.gz $ tar zxf ldoce5-fpw-20100111.tar.gz $ cd ldoce5-fpw-20100111
- Secondly, We have to do several house keeping tasks here.
- For all files except catalogs.txt, we have to convert the character code into UTF-8, and end of lines into LF.
- tr -d '\015' seems not to work with Japanese characters. So I did the conversion by hand in Emacs.
- For all files having shebang, replace the shebang with actual path to the perl.
- Edit ldoce5-fpw.conf like this.
#$ldoce5dir = "/cygdrive/c/Program\ Files/Longman/LDOCE5/ldoce5.data/"; $ldoce5dir = "/Applications/ldoce5.data/"; #$font = '/cygdrive/c/Windows/Fonts/arialuni.TTF'; $font = '/Library/Fonts/Arial\ Unicode.ttf';
- For all files except catalogs.txt, we have to convert the character code into UTF-8, and end of lines into LF.
- Thirdly,
$ fpwmake package $ cp ldoce5-fpw.zip ~/Dicts/ $ cd ~/Dicts/ $ unzip ldoce5-fpw.zip $ rm ldoce5-fpw.zip
That's all.
- Firstly,
- Preliminary tasks
- Convert OALD8 into epwing format
- Japanese query problem in lookup2 on Emacs23
- For example, when I query "花" to 広辞苑, lookup answers there is no entry in 広辞苑, while eblook works fine with Japanese queries.
T.B.D.
- For example, when I query "花" to 広辞苑, lookup answers there is no entry in 広辞苑, while eblook works fine with Japanese queries.