/yomichan-fr

A French hover dictionary. It's a modified version of Yomichan that works with French.

Primary LanguageJavaScript

yomichan-fr 🇫🇷

A French hover dictionary. It's a modified version of Yomichan that works with French.

Examples:

example-1 example-2

Instructions (firefox)

  1. Download the repository, clone it, whatever.

  2. Download yomichan-settings-2023-02-04.json, French.Dictionary.zip, and French.Forvo.zip from the Releases section.

  3. Go to: about:debugging#/runtime/this-firefox

  4. Click Load Temporary Add-on

  5. Navigate to yomichan-firefox/manifest.json in the repository and choose it.

Yomichan should now be installed.

  1. Head to the bottom of the Yomichan settings page.

  2. Select Import Settings.

  3. Choose yomichan-settings-2023-02-04.json

  4. Search for Enable search page clipboard text monitoring and turn it off and on.

  5. Go to the Dictionaries section and import French.Dictionary.zip

Instructions (chromium-based)

  1. Download the repository, clone it, whatever.

  2. Download yomichan-settings-2023-02-04.json, French.Dictionary.zip, and French.Forvo.zip from the Releases section.

  3. Go to: chrome://extensions/

  4. Turn on Developer mode

  5. Click Load unpacked

  6. Navigate to yomichan-chromium in the repository, and select the folder.

Yomichan should now be installed.

  1. Head to the bottom of the Yomichan settings page.

  2. Select Import Settings.

  3. Choose yomichan-settings-2023-02-04.json

  4. Search for Enable search page clipboard text monitoring and turn it off and on.

  5. Go to the Dictionaries section and import French.Dictionary.zip

Everything should now be set up for Yomichan on Firefox/Chromium.

Forvo setup

  1. Extract the French Forvo folder from French.Forvo.zip

  2. Throw it in your addons21 folder in your Anki appdata folder.

Mine's in C:\Users\[Username]\AppData\Roaming\Anki2\addons21

  1. Install AnkiConnect.

  2. Restart Anki.

Anki must be open to connect to the Forvo server.

Inflected audio feature

I added the ability to hear the inflected version of the word you've clicked on. By clicking the sound button while holding the Alt key, it will play the inflected version (ex. joue instead of jouer).

Notes

If you are already using Yomichan for Japanese, consider using this extension in a separate browser profile. This is a modified version of Yomichan and the unmodified version will have unintended results.

The dictionary takes data from Kaikki's French Wiktionary dump and specially formats it to work with this custom version of Yomichan. It contains over ~108,000 lemmas. That sounds like a lot, but there are still cases where you'll encounter a word that doesn't have a definition.

Many thanks to Tatu Ylonen's project Wiktextract. Without it, this project, and others I've made like it wouldn't exist.

I also want to thank Alexei Yatskov for creating Yomichan. It's the best hover dictionary available, and I'm glad I've been able to tweak it to work with other languages.

The Firefox extension unfortunately doesn't survive restarts. This means you'll have to add it through the debugging page each time, although your settings and the dictionary will not be lost.

Chrome is planning to drop support for extensions that use Manifest V2. This means that unless the developer for Yomichan updates it by then, Chrome may no longer be supported.

Frequency data was created from parsing the OpenSubtitles French corpus. The parser used the Kaikki data as well. Phrases like "faire un carton" were correctly parsed as such rather than seperately as "faire", "un", and "carton". Words found in the 95% coverage list I created are marked as popular.