An open API service indexing awesome lists of open source software.

https://github.com/makigumo/jmdict-mac-dic

Converts JMdict xml data into a macOS dictionary
https://github.com/makigumo/jmdict-mac-dic

dictionary japanese jmdict macos

Last synced: 2 months ago
JSON representation

Converts JMdict xml data into a macOS dictionary

Awesome Lists containing this project

README

          

# 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](https://sourceforge.net/projects/saxon/files/Saxon-HE/9.8/SaxonHE9-9-0-8J6zip/download)
* `build-saxon.sh` will try to download it automatically.
* JMDict file (use either method)
* HTTP
* Download `JMDict_e.gz` from a [mirror](http://ftp.monash.edu.au/pub/nihongo/00MIRRORS.html).
* Extract with `gunzip`.
* RSYNC
* Run `./rsync.sh`.

### Steps

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

## Links/Credits

* [Dictionary License](http://www.edrdg.org/edrdg/licence.html)
* [The JMDict Project](http://www.edrdg.org/jmdict/j_jmdict.html)
* [Electronic Dictionary Research and Development Group](http://www.edrdg.org/)