Scripts to convert the JMDict XML file into an XML file suitable for Apple’s Dictionary Development Kit (DDK).
- DDK inside the
$HOME
directory (adjust inMakefile
). - Java 8+
- Saxon-HE
build-saxon.sh
will try to download it automatically.
- JMDict file (use either method)
- HTTP
- Download
JMDict_e.gz
from a mirror. - Extract with
gunzip
.
- Download
- RSYNC
- Run
./rsync.sh
.
- Run
- HTTP
./build-saxon.sh
cat JMDict.plist.in | m4 -DYEAR=$(date +%Y) -DVERSION_DATE=$(date +%Y.%m.%d) > JMDict.plist
make
make install