This is a Japanese-English dictionary based on the JMdict and JMnedict and Tatoeba database for e-Ink Kindle devices.
Features:
The dictionary has been tested on Kindle Paperwhite and Kindle Oasis. It should also work well with other e-ink Kindle devices
The dictionary will not work well on Kindle Fire or Kindle Android App, or any Android based Kindle, because the Kindle software on those platforms does not support inflection lookups.
You can download the latest version of the dictionary from here.
There are in total 3 dictionaries:
jmdict.mobi
: Contains data from the JMedict database, with additional examples. It does not contain proper names.jmnedict.mobi
: Contains Japanese proper names from the JMnedict databse.combined.mobi
: Contains the data from both of the above dictionaries. Please note that a lot of features are missing from the combined dictionary (sentences, pronunciation, ...) due to size constraints. Therefore, it is not suggested to use this dictionary.To install any of the dictionaries (you can also install all three of them) into your device follow these steps:
.mobi
file for the dictionary you want to use to the documents/dictionaries
sub-folder;NOTE: Unfortunately the Kindle Android App does not support dictionary inflections, yielding verbs lookup practically impossible. No known workaround.
rename jmdict.mobi
or any of the other two dictionaries as B005FNK020_EBOK.prc
connect your Android device via USB
copy B005FNK020_EBOK.prc
into Internal Storage/Android/data/com.amazon.kindle/files/
or /sdcard/android/data/com.amazon.kindle/files
This will override the default Japanese-Japanese dictionary.
The steps for iOS App are similar the Android App above. Unfortunately the Kindle iOS App seems to suffer from the same limitations regarding inflections.
The pitch accent information is encoded in the following way:
Examples:
For more information see Japanese pitch accent - Wikipedia
Requirements:
Linux, Windows with Cygwin or WSL (might also work on macOS with a few changes)
Kindle Previewer if building on Windows or WSL Kindle Previewer
Set-ItemProperty -Path 'Registry::HKEY_CURRENT_USER\Environment' -Name PATH -Value ((Get-ItemProperty -Path 'Registry::HKEY_CURRENT_USER\Environment' -Name PATH).path + ";$env:APPDATA\Amazon")
Python version 3
Inside of the makefile you can change the max number of sentences per entry, compression, as well as which sentences to include:
# The Kindle Publishing Guidelines recommend -c2 (huffdic compression),
# but it is excruciatingly slow. That's why -c1 is selected by default.
# Compression currently is not officially supported by Kindle Previewer according to the documentation
COMPRESSION ?= 1
# Sets the max sentences per entry only for the jmdict.mobi.
# It is ignored by combined.mobi due to size restrictions.
# If there are too many sentences for the combined dictionary,
# it will not build (exceeds 650MB size limit). The amount is limited to 0 in this makefile for the combined.mobi
SENTENCES ?= 5
# This flag determines wheter only good and verified sentences are used in the
# dictionary. Set it to TRUE if you only want those sentences.
# It is only used by jmdict.mobi
# It is ignored bei combined.mobi. There it is always true
# This is due to size constraints.
ONLY_CHECKED_SENTENCES ?= FALSE
# If true adds pronunciations to entries. The combined dictionary ignores this flag due to size constraints
PRONUNCIATIONS ?= TRUE
# If true adds additional information to entries. The combined dictionary ignores this flag due to size constraints
ADDITIONAL_INFO ?= TRUE
Build with make to create all 3 dictionaries (Note the combined dictionary will not build with Kindle Previewer due to size constraints):
make
or use any of the following commands to create a specific one:
make jmdict.mobi
make jmnedict.mobi
make combined.mobi
If you build it on WSL the commands are as follows:
make ISWSL=TRUE
or use any of the following commands to create a specific one:
make jmdict.mobi ISWSL=TRUE
make jmnedict.mobi ISWSL=TRUE
make combined.mobi ISWSL=TRUE
Before making a pull request please ensure the formatting of your python code is correct. To do this please install black and run
black .
Leverage more of the JMdict data: