[6765] in comp.os.os2.announce archive
XJDIC 2.4 for OS/2
daemon@ATHENA.MIT.EDU (Alex Taylor)
Mon May 8 10:43:33 2006
To: os2ann.DISCUSS@bloom-picayune.mit.edu
Date: 5 May 2006 10:08:02 -0500
From: Alex Taylor <mail.me@reply.to.address>
Reply-To: alextaylor41@HATrogers.com
XJDIC is Jim Breen's text-mode Japanese/English dictionary program,
designed to use the freeware EDICT and KANJIDIC dictionaries. Excerpted
from the product website:
XJDIC functions as:
* an English to Japanese dictionary (eiwa jiten), searching for and
displaying entries for key-words entered in English;
* a Japanese to English dictionary (waei jiten), searching for and
displaying entries for keywords or phrases entered in Japanese...;
* a Japanese-English Character dictionary (kanei jiten), capable of
selecting kanji characters by JIS code, radical, stroke count,
Nelson Index number, Halpern Index number, SKIP coding or reading,
and displaying compounds containing that kanji.
I have ported version 2.4 (the latest) to OS/2, using GCC 2.8.1 and EMX
0.9d-fix4:
http://www.cs-club.org/~alex/programming/ports/index.html
Full information is available on this page. Some notes of particular
interest are mentioned below.
NOTES:
XJDIC outputs Japanese text in both kanji and hiragana/katakana. It does
NOT output in romaji (although it does support romaji input). If you
cannot read at least hiragana and katakana, this program will likely be of
little use to you.
For obvious reasons, XJDIC must be run in an environment capable of
displaying Japanese characters in a console (such as provided by the
KShell utility).
XJDIC requires the EDICT and KANJIDIC files, located on the following FTP
site as "edict.gz" and "kanjidic.gz", respectively:
ftp://ftp.monash.edu.au/pub/nihongo/
(I didn't include then with XJDIC because they're updated more or less
daily.)
Make sure you read README.OS2 (at a minimum) before trying to run XJDIC,
because there are a number of steps you must take before the program will
work properly. Specifically:
* Download and install EDICT and KANJIDIC.
* Generate the index files for EDICT and KANJIDIC.
* If you don't have a Japanese version of OS/2, you will also need
to install and configure KShell (from Hobbes), and a Japanese font
such as the one in \OS2IMAGE\FI\FONT\DFHSM-W3.ZIP on the OS/2 install
CD (nicer ones are also available on the Internet).
* Make sure you have EMX installed. You should have a TERM environment
variable set as well.
* XJDIC must be run using Shift_JIS output mode (I recommend creating
a .xjdicrc configuration file in your HOME directory containing the
line 'omode s').
(I'm working on writing a Presentation Manager version which should
eventually eliminate most of these requirements, except the first two).
Incidentally, although the program is listed as a Japanese<->English
dictionary, in theory a non-English dictionary could probably be used
instead of EDICT, as long as it uses the EDICT format.
The original XJDIC home page is:
http://www.csse.monash.edu.au/~jwb/xjdic/
And the related WWWJDIC project is located at:
http://www.csse.monash.edu.au/~jwb/wwwjdic.html
--
Alex Taylor
http://www.cs-club.org/~alex
Remove hat to reply (reply-to address).