The three-finger lookup gesture on macOS is one of the conveniences I use most when reading. Select a word, keep the current app open, and the definition appears immediately. Japanese complicates that flow. The form on the page is often an inflected form, while the dictionary stores the lemma. 書かなかった(かかなかった) has to lead back to 書く(かく), and 食べられなかった(たべられなかった) to 食べる(たべる). A lookup engine that searches only the selected string can easily return nothing.
Kindle’s built-in lookup has the same underlying difficulty. The reader sees the form used in the book; the dictionary usually stores the dictionary form. Yomitan handles Japanese inflection more thoroughly in the browser, though its scope is still browser reading. macOS, Kindle and browser extensions each provide a good lookup surface, yet the same dictionary rarely moves cleanly between them.
This problem has followed my dictionary experiments for years. In 2012 I wrote a guide to EPWING dictionaries and EBWin. EPWING separates dictionary data from the reader, so one dictionary can be opened by compatible software on different platforms. The guide covered dictionaries I used at the time, including 広辞苑(こうじえん), NHK 日本語発音アクセント辞典(にほんごはつおんアクセントじてん) and 漢字源(かんじげん), along with readers for Windows, Mac, Android and iOS.
I later built a small Japanese tool that combined kana annotation, grammar analysis, speech playback and dictionary lookup. Bringing the functions together helped, but lookup still pulled reading into a separate application. The recurring problem sits between dictionary content, Japanese lookup logic and the software where reading actually happens.
Japanese Lookup in Reading Environments
macOS already has a good lookup surface. In supported applications, a three-finger tap or Control-click opens Look Up, and the Dictionary app lets users enable, disable and reorder sources. Once a useful dictionary is available to the system, the interaction is extremely quick.
Japanese inflection adds another requirement. Resolving 書かなかった to 書く depends on the lookup engine understanding conjugation. Easydict on macOS can query Apple Dictionary sources enabled by the system, and it can also import MDict .mdx and .mdd files. Those sources follow different integration paths, with different consequences for what data can be stored and searched.
Yomitan goes further inside the browser. It can show readings and definitions directly over webpage text and can work backwards from conjugated Japanese forms. Its dictionary-making documentation specifically requires suitable part-of-speech tags for Japanese terms that participate in conjugation. Part of speech therefore affects lookup behaviour as well as display.
Kindle uses another dictionary system. Amazon describes a Kindle dictionary as an ebook with additional indexes and metadata, including input language, output language and a primary index. A converted file also needs to be tested on an actual Kindle e-reader to confirm that lookup from other books works correctly. Opening the dictionary file itself does not prove that the in-book lookup index is usable.
| Reading environment | Lookup surface | Main constraint |
|---|---|---|
| Mac | System Look Up, Dictionary, Easydict and similar tools | Dictionary source, file format and Japanese inflection support |
| Browser | Extensions such as Yomitan | Structured dictionary information such as part of speech; browser-focused use |
| Kindle | Built-in in-book lookup | Kindle-specific dictionary format and device-level lookup testing |
Each environment has its own indexing, format and lookup requirements. Moving the same dictionary between them usually requires another conversion step.
Inflection, Readings and Entries
Even after a lookup engine finds the lemma, Japanese can still leave more than one possible reading or sense. The Basic Verb Handbook (基本動詞ハンドブック) from the National Institute for Japanese Language and Linguistics (国立国語研究所) lists two readings for 開く(あく/ひらく). Their usage overlaps in some constructions, while their meanings and tendencies differ. The handbook gives ドアが開く(どあがあく/どあがひらく) as a form that can take either reading, and 花が開いた(はながあいた/はながひらいた) can likewise be read as あいた or ひらいた.
The written form alone cannot settle the reading. A dictionary needs to preserve the relationships among written forms, readings and senses, and the reader still has to use context.
明日 shows the same structural problem in a familiar word: the written form can be read as あす, あした or みょうにち. Japanese lookup therefore depends on more than string matching. The amount of structure preserved inside an entry directly affects what a lookup engine can do with it later.
Dictionary Content and File Formats
Different dictionaries answer different questions. Large monolingual dictionaries, learner dictionaries, Japanese–Chinese dictionaries, name dictionaries and pronunciation dictionaries all have their own coverage and editorial approach. A novel may call for a detailed Japanese definition; a proper name may send the reader to a name dictionary; pronunciation and pitch accent require another kind of source. Which Japanese Dictionaries Are Worth Keeping looks at those trade-offs in more detail.
Entries are also much richer than a headword followed by a paragraph. A single entry can contain multiple written forms and readings, several senses, example sentences, usage labels, cross-references, images and special characters. A converter can preserve enough text for the file to open while still discarding the structure that made the original dictionary useful. Why Japanese Dictionaries Are Harder to Build Than They Look examines written forms and readings, while What’s Inside a Japanese Dictionary Entry? breaks down the entry itself.
Reader software adds another layer of incompatibility. Apple Dictionary, MDict, Yomitan and Kindle each expect different data and indexes. The chosen format affects whether readings, senses, images, cross-references and lookup indexes survive conversion. Why Japanese Dictionaries Have So Many File Formats covers where these formats came from and why different digital editions can diverge.
Licensing matters as well. Yomitan’s support documentation notes that many EPWING dictionaries are proprietary, so they are not bundled with the extension and must be obtained separately. Technical support for a file format only establishes that the data can be processed; it does not grant redistribution rights for the dictionary itself.
A Common Data Layer for Dictionaries
The project I am building around these problems is called Unidicts. It converts dictionaries from different sources and formats, one by one, into stable structured data that can later be exported for specific reading environments.
A shared schema still leaves each source independent. Common information goes into stable fields, while source-specific material remains available instead of being flattened away. This separates two expensive jobs: understanding the original dictionary format, and adapting the resulting data to Apple Dictionary, Kindle or another target.
Part-of-speech information is a useful example. Yomitan needs suitable part-of-speech tags for Japanese conjugation, so a converter cannot safely treat them as optional decoration. Unidicts keeps the written forms, readings, senses, part-of-speech information and resources supplied by the source as faithfully as possible. Inflection analysis and contextual interpretation stay with the lookup engine and reader.
The work is now in the dictionary-by-dictionary conversion and independent review stage. The next step is validating exports in real reading environments, including entry matching, sense display and supporting assets. The conversion tools are also intended to be open sourced for people working with dictionary data they have obtained legally. The licence of each original dictionary continues to apply.
The Unidicts Data Model
The current design produces one SQLite file per dictionary. Core data is organised into three business tables: entries, senses and assets. Every dictionary keeps its own content and organisation while using the same structural conventions.
Form and Reading are stored separately. One written form can have several readings, and different forms can share a reading. 明日(あす/あした/みょうにち) retains its different readings; 食べる(たべる) and 喰べる(たべる) remain separate written forms. When the source supplies no reading and no explicit information can determine one, the system does not guess. Those records are counted separately.
Exporters can then work from a stable structure without repeatedly reverse-engineering every original dictionary format. Target readers still need their own adapters, while the expensive work of cleaning and understanding the source data becomes reusable.
The goal is straightforward: make dictionaries easier to carry into the places where people already read.
References
- Apple Support: Look up words on Mac
- Apple Dictionary User Guide: Customize dictionary sources
- Easydict: Use Apple Dictionary in macOS
- Easydict: Use MDict dictionaries
- Yomitan: Making Yomitan Dictionaries (Conjugation)
- Yomitan: Getting Started
- Yomitan: Support
- National Institute for Japanese Language and Linguistics (国立国語研究所): Basic Verb Handbook (基本動詞ハンドブック) — 開く
- Amazon KDP: Creating Dictionaries
Updated