Advanced Features
Keyboard Shortcuts
The following shortcuts are globally available:
Shortcut | Action |
---|---|
Alt + Insert | Open search page. |
Alt + Delete | Toggle extension on/off. |
The following shortcuts are available on search results:
Shortcut | Action |
---|---|
Esc | Cancel current search. |
Alt + PgUp | Page up through results. |
Alt + PgDn | Page down through results. |
Alt + End | Go to last result. |
Alt + Home | Go to first result. |
Alt + Up | Go to previous result. |
Alt + Down | Go to next result. |
Alt + B | Go to back to source term. |
Alt + E | Add current term as expression to Anki. |
Alt + R | Add current term as reading to Anki. |
Alt + P | Play audio for current term. |
Alt + K | Add current kanji to Anki. |
Advanced Scanning Options
Scanning local files
To enable Yomitan scanning on local files, go to Settings
> Security
> Configure Yomitan Permissions
, and navigate to the Allow access to file URLs
option. From there, follow the link to the browser's settings pages, and check Allow access to file URLs
on Chrome/Edge, or Access your data for all websites
for Firefox.
Yomitan may not work on PDF files. When that happens, drag and drop your PDF file into our PDF Viewer.
Scanning in private windows
To enable Yomitan scanning in private/incognito web browser windows, go to Settings
> Security
> Configure Yomitan Permissions
, and navigate to the Allow in private windows
option. From there, follow the link to the browser's settings pages, and check Allow in private windows
on Chrome/Edge, or Run in Private Windows
for Firefox.
Audio
Default audio sources
After looking up a term, you can click on the speaker button to hear the term's pronunciation. When searching for audio, multiple audio sources are checked until the first source with audio for the term is found. If no audio is found, you will hear a short click instead. Right-clicking the button allows choosing the source manually.
Japanese
The default audio sources for Japanese are:
- JapanesePod101
- Jisho.org
Other languages
The default audio sources for other languages are from Wikimedia Commons:
- Lingua Libre
- Wiktionary
While Commons has audio for many languages, some of them have limited coverage, and you may want to add additional sources, as described below.
Configuration
Audio sources can be configured in Settings
> Audio
> Configure audio playback sources
to reorder them or add new ones. Besides the four sources mentioned above, you can also use your browser's inbuilt text-to-speech (TTS) engine or add a custom URL source:
Text-to-speech (TTS)
To enable this, just add a new playback source with the Text-to-speech
type and choose your desired voice. This is the simplest way to get pronunciation audio, though there a few points to keep in mind:
- TTS voices vary between browsers and so might not support all languages. For instance, Microsoft Edge offers a wide selection of free Azure natural voices for a variety of languages. Edge provides over 300 voices, compared to around 25 in Google Chrome (see here for a list of supported languages).
- TTS audio can be inaccurate for languages with complex pronunciation such as Japanese, where words can have multiple possible readings and pitch accents.
- ⚠️ Note that the TTS voices cannot be sent to Anki; this is a limitation of the browser SpeechSynthesis API.
Custom URL
You can add a custom URL from which audio will be fetched. One use case for this is fetching audio from Forvo:
Yomichan Forvo Server
Forvo is currently the largest online pronunciation database, with native pronunciation audio for various languages. One way to get Forvo audio in Yomitan is via the Yomichan Forvo Server Anki add-on. It fetches from Forvo, at the cost of a slight delay. After installing it in Anki, add a Custom URL (JSON)
audio source with the URL http://localhost:8770?term={term}&reading={reading}&language=en
(replacing en
with the desired language's ISO code).
Advanced Options
Click the Advanced
toggle switch in the bottom left corner of the Settings page to enable advanced options.
Parse sentences using MeCab
MeCab is a third-party program which uses its own dictionaries and parsing algorithm to decompose sentences into individual words. MeCab may provide more accurate parsing results than Yomitan's internal parser.
In order for Yomitan to use it, both MeCab and a native messaging component must be installed. A setup guide can be found here.