Skip to content

A Japanese -> English dictionary for the Dictionary.app in MacOS

Notifications You must be signed in to change notification settings

Jackson-S/japanese-dictionary

Repository files navigation

Japanese-English Dictionary

Features

Clean UI that adapts to context

Features Aimed at Japanese Learners Stroke order, example sentences and English -> Japanese lookup.

Note: English -> Japanese lookup is a work in progress and may not be entirely reliable or accurate.

Data Sources

The dictionary is based on JMDict, KanjiDic2, Tatoeba example sentences, KanjiVG stroke order diagrams. All licensing information can be found below.

Installing

  1. Open Dictionary.app, go to File > Open Dictionaries Folder.
  2. Place "Japanese English Dictionary.dictionary" directly into the folder that opens.
  3. Restart Dictionary.app
  4. Go to "Dictionary" in the menu bar then "Preferences"
  5. Scroll down to the bottom and tick "Japanese English Dictionary (English-Japanese)
  6. You might need to restart your computer to enable Spotlight and Lookup.

Compiling

Compiling requires ~6GB of free ram. To compile the dictionary there are a number of requirements:

  • Apple dictionary development kit
  • Python 3.7+ with pip requirements:
    • jinja2
    • mecab-python3
    • jaconv
  • XZip
  • XMLLint
  • MeCab

To compile run

./compile.sh

or to compile a sample dictionary containing a small subset of words

./compile_sample.sh

useful for testing as the full version can take up to an hour to compile

Copyright and Usage Information

EDICT and KanjiDic

This package uses the EDICT and KANJIDIC dictionary files. These files are the property of the Electronic Dictionary Research and Development Group, and are used in conformance with the Group's licence.

Tatoeba

The example sentences in this dictionary are provided by Tatoeba.org under the Creative Common Attribution 2.0 France (CC BY 2.0 FR) license.

KanjiVG

The kanji samples in this dictionary are provided by KanjiVG under the Creative Common Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license and are copyright © 2009-2018 Ulrich Apel.

Wiktionary

The english entries in this dictionary are filtered using text data from Wiktionary, which is released under the GNU Free Documentation License (GFDL) and the Creative Commons Attribution-Share-Alike 3.0 License.