| title | Dictionary |
|---|---|
| nav_order | 5 |
Tip
For the best experience, prepare your dictionary using CrossInk's web companion tool Inky, which creates .oft and .oft.cspt accelerator files. An unprepared dictionary with uncompressed .dict and .idx files also works: on its first lookup, CrossInk creates a smaller on-device .qidx quick index automatically.
The reader supports StarDict dictionaries. When searching for dictionaries online, look for "StarDict format" or files with .dict, .idx, and .ifo extensions.
A dictionary folder typically contains:
.dict-- definition data (required; compressed.dict.dzfiles must be prepared on a computer first).idx-- word index (required).ifo-- metadata such as dictionary name and word count (recommended).syn-- alternate forms and synonyms (optional, enhances lookup coverage)
Minimum requirement: one .dict and one .idx file in the same folder. Their filename stems should match. Without .ifo, the dictionary will still work but metadata and HTML definition rendering may be limited.
Example folder structure: SDCARD/.dictionaries/Cambridge/*.dict. Make sure the dictionary folder is NOT nested like /Cambridge/Cambridge/*.dict
- Copy your dictionary folder(s) to one of these directories on the SD card:
/.dictionaries/(checked first)/dictionaries/
- If no dictionary has been selected before, the first dictionary in the alphabetical device list is selected automatically.
- To choose between multiple dictionaries, open Settings -> Reader -> Dictionary on the device and select one from the list.
- Per book dictionaries can be set from within the in-reader menu
Book Options -> Settings Gear tab -> Book Dictionary
CrossInk does not decompress dictionaries on the device. If a download contains .dict.dz or .syn.dz, run the bundled preparation tool on a computer before copying the folder to the SD card (see Dictionary Tools).
An uncompressed dictionary with only .dict and .idx files is usable without desktop preparation. During the first lookup, if neither *.idx.oft nor *.idx.oft.cspt is present, CrossInk creates *.qidx beside the dictionary files. It records a sample every 256 index entries, letting later direct and stemmed lookups jump near the requested word before scanning a small part of the original .idx.
.qidx is a disposable device cache: it is rebuilt when it is missing, invalid, or belongs to a differently sized .idx file, and it can be deleted safely. If the lookup is cancelled or the SD card cannot create the cache, the lookup still works by scanning the full .idx; CrossInk will try to create the quick index again on a later lookup.
Desktop preparation remains recommended for large dictionaries. *.idx.oft.cspt is the preferred direct-lookup accelerator, with *.idx.oft as its fallback; either one prevents CrossInk from creating .qidx. The desktop files also speed up synonym resolution and ordinal lookups. The smaller .qidx accelerates direct lookup and bounds spelling-suggestion searches, but it does not accelerate synonyms or ordinal lookups.
The Look Up Word option in the reader menu is only visible when a dictionary is active.
- Open the reader menu and choose Look Up Word.
- The page becomes a word-select overlay - one word is highlighted, initially near the centre of the page.
- Use Up/Down to move between rows, Left/Right to move between words on the same row.
- Press Confirm to look up the highlighted word.
- Press Back to exit word-select without looking anything up.
In an EPUB reader with Touch Reader Controls enabled, touch and hold a word for about one second. CrossInk opens word selection on that word; lift your finger to look it up. To look up a phrase, keep holding after the selection opens, drag to the last word, then lift your finger. This is a direct shortcut from the reading page, so you do not need to open the reader menu first.
When word selection is already open, including selection opened from a definition, touch a word to start a selection and drag before releasing to look up a phrase. Releasing without dragging looks up the single touched word.
Set a shortcut to Look Up Word in Settings -> Controls. Holding that shortcut in the EPUB reader then enters word-select directly, skipping the reader menu. Release and navigate to a word as usual.
When you select a word, the reader searches for it in this order:
- Direct match - the word is found as-is in the dictionary index.
- Stemming - the reader automatically tries common word forms (plurals, verb conjugations, comparatives). For example, "running" finds "run".
- Alternate forms - if the dictionary includes a synonym/alternate forms file and no match was found yet, a prompt appears. Press Confirm to search alternate forms, or Back to skip.
- Suggestions - if nothing matched, a list of similar words from the dictionary is shown. Select one to view its definition.
- Not found - if no matches or suggestions exist, a not-found message appears. Press Back to return to word-select, or Confirm to exit to the reader.
When a word is found, the definition screen shows the headword at the top and the definition text below.
- Page Forward - next page (for long definitions)
- Page Back - previous page
- Confirm (labelled Look Up Word) - enter word-select mode on the definition text (see Chaining Lookups below)
- Left (labelled Switch) - choose another dictionary and repeat the current lookup
- Back (short press) - return to the previous screen
- Back (long press) - exit all the way back to the reader
From a definition screen, you can look up any word within the definition text without returning to the reader.
- Press Confirm (Look Up Word) on the definition screen.
- A word in the definition becomes highlighted. Navigate to any word and press Confirm.
- A new definition screen opens for that word.
- You can chain further by pressing Look Up Word again from the new definition.
- Short-press Back to exit word-select and return to the current definition.
- Short-press Back again to go back through the chain (each press returns to the previous definition).
- Long-press Back at any point to exit directly to the reader.
Going back returns you to each prior definition on the page you were reading when you chained away from it, not the first page.
Chain depth limit: the chain follows the 50 entries visible in lookup history. If you chain deeper than that, the oldest chain entries are dropped, so backing out eventually returns you to the reader.
In word-select mode, you can select a sequence of words to look up as a phrase.
- Navigate to the first word of the phrase.
- Long-press Confirm to anchor on that word.
- Use the navigation buttons to extend (or shrink) the selection to cover the full phrase. All selected words are highlighted.
- Short-press Confirm to look up the selected phrase.
- Press Back to cancel and return to single-word select mode.
Multi-word select works in both the reader word-select and the definition word-select (chained lookup).
On a touchscreen, use a press-and-drag selection instead of the button sequence: touch the first word, drag to the last word, and lift your finger to look up the selected phrase. The first long hold on the reading page is only needed to enter lookup; once word selection is open, touching a word starts the range immediately.
Limitation: Multi-word selection cannot span a page boundary. If a phrase crosses from one page to the next, only the words on the current page are available for selection. As a workaround, reduce the reader font size so more words fit on a single page, perform the lookup, then restore the original font size.
Each book can have its own dictionary, independent of the global setting.
- Open the reader menu, navigate to the 3rd tab (settings gear icon) and choose Book Dictionary.
- Select a dictionary from the picker.
- The per-book choice is saved and restored each time the book is opened.
- To remove the override, open Book Dictionary and select Use Global. The picker shows the current global dictionary name in parentheses next to Use Global.
The global dictionary is automatically restored whenever the book is closed. Changing a book's dictionary does not affect the global setting or other books.
Using Switch Dictionary during a word lookup is temporary. It applies only to that lookup flow; when lookup closes, the reader returns to the book's dictionary override, or the global dictionary when the book has no override.
Each book maintains its own lookup history, accessible from the reader menu.
- Open the reader menu and choose Lookup History.
- Each entry shows the searched word and a status indicator:
- Square root (√) -- found directly
- Tilde (~) -- resolved via stemming or alternate forms
- Question mark (?) -- reached via the suggestions screen
- X -- not found
- Select any entry and press Confirm to look it up again. Press Back from the definition to return to the history screen.
- To delete an entry, long-press Confirm on it. A confirmation popup appears -- press Confirm to delete, or Back to cancel.
The history screen shows the 50 most recent entries. The on-disk history is append-only, so older entries remain stored but are not shown. The visible window also bounds how deep a chained lookup can go back (see Chaining Lookups).
Dictionary definitions use the active reader font and size by default. If at least one dictionary is installed, you can set the default dictionary font and size in Settings > Reader > Font Options. Books inherit those defaults unless you choose a different font or size in Book Options > Font Options. Choose Use Global in Book Options to return a book to the global defaults. When the reader uses an SD-card font, you can choose a different dictionary size while keeping that same family; built-in reader fonts continue to use their active size. A saved size with no matching file uses the closest available size from the dictionary family.
Only one SD-card font family is loaded at a time: CrossInk temporarily swaps to the dictionary font while a definition is open, then restores the reader font when you close it. If a book's selected dictionary font is missing, the definition temporarily uses the global dictionary font. If that is also unavailable, it falls back to the reader font. The per-book selection is kept so it resumes automatically if you reinstall the family.
Built-in fonts keep the glyphs they contain and approximate only unsupported pronunciation symbols. If you see a filled diamond, choose an SD-card font that includes that character.
You can download CrossInk's SD card catalog of fonts with IPA glyphs built-in from Inky.
See the dictionary font builder if you want to build your own dictionary fonts via the CLI.
CrossInk's companion app, Inky, prepares one StarDict dictionary at a time and generates the accelerator indexes used for fast lookups. It accepts either:
- an uncompressed dictionary folder; or
- a
.zip,.tar.zst, or.rararchive containing that folder or its dictionary files.
- Open Inky's Dictionary Tools page.
- Drag the dictionary archive or folder onto the upload area. Alternatively, click it and choose Archive or Folder.
- Select Prepare Dictionary. The input must include matching
.ifo,.idx, and.dictor.dict.dzfiles..synand.syn.dzare optional. - Download the prepared ZIP when the job finishes, then unzip it into
/.dictionaries/or/dictionaries/on the SD card. Keep the resulting dictionary folder intact.
Inky decompresses .dict.dz and .syn.dz when needed, creates .idx.oft, .idx.oft.cspt, .syn.oft, and .syn.oft.cspt, and packages the prepared dictionary for you. The prepared download is available for 10 minutes.
A command-line tool is included for working with StarDict dictionaries on your computer, without the device. It requires Python 3 and has no external dependencies.
Decompress dictionary data and generate accelerator indexes on your computer:
python3 scripts/dictionary_tools.py prep /path/to/dictionary-folderRun this before copying compressed dictionaries to the SD card. It is also recommended for large uncompressed dictionaries because it makes lookups much faster.
The command produces, when applicable, .dict, .syn, .idx.oft, .syn.oft, .idx.oft.cspt, and .syn.oft.cspt. Copy these alongside the original .idx and optional .ifo. CrossInk uses .idx.oft.cspt first, then .idx.oft; when neither exists, it creates and uses .qidx on the device. If a quick index cannot be created, CrossInk scans the original index instead.
Look up a word from the command line:
python3 scripts/dictionary_tools.py lookup /path/to/dictionary-folder applePrints the definition to stdout. Compressed dictionary data must be prepared with prep first.
Combine two or more StarDict dictionaries into a single monolithic dictionary:
python3 scripts/dictionary_tools.py merge \
--source /path/to/dict-a \
--source /path/to/dict-b \
--output /path/to/merged-dictSpecify --source once per dictionary to include. The merged output contains the full union of all headwords and synonyms. When the same word appears in multiple sources, definitions are concatenated in source order.
Source dictionaries must be prepared (decompressed .dict files) before merging. The output is a complete, ready-to-use StarDict dictionary that can be copied directly to the SD card.
credit to https://github.com/koreader/koreader/wiki/Dictionary-support for the list.
- The reader.dict (ex "BoboTiG/ebook-reader-dict") project provides StarDict version of daily dumps of Wiktionary monolingual dictionaries for a variety of languages. It also provides non-free multilingual dictionaries.
- The WikDict project provides free bilingual dictionaries based on Wiktionary for a lot of language pairs. StarDict versions can be downloaded from here.
- The
Vuizur/Wiktionary-Dictionariesrepository contains dictionaries based on Wiktionary from many languages to English, including English-English. - The DictInfo website provides outdated monolingual dictionaries based on Wiktionary.
- The Firedict site contains a list of freely available dictionaries.
- wiktionary_stardict: update monthly.
- Fictionaries provides dictionaries for various speculative fiction books and series.
- World Factbooks Archive provides 36 years of CIA's World Factbook dictionaries in StarDict format.
- StarDict-Hebrew Hebrew-English StarDict versions of Babylon dictionaries.