Skip to content

Converts JMdict xml data into a macOS dictionary

Notifications You must be signed in to change notification settings

makigumo/jmdict-mac-dic

Repository files navigation

JMDict for macOS

Scripts to convert the JMDict XML file into an XML file suitable for Apple’s Dictionary Development Kit (DDK).

Install

Requirements

  • DDK inside the $HOME directory (adjust in Makefile).
  • 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.
    • RSYNC
      • Run ./rsync.sh.

Steps

./build-saxon.sh
cat JMDict.plist.in | m4 -DYEAR=$(date +%Y) -DVERSION_DATE=$(date +%Y.%m.%d) > JMDict.plist
make
make install

Links/Credits