MultiDefine
An Anki add-on that auto-defines words from monolingual dictionaries in multiple languages β English, German, Russian, French, and Azerbaijani β and fills note fields with definitions, examples (headword clozed for study), audio, phonetics, and verb forms.
Based on AutoDefine Oxford Learner's Dictionaries by Artem Petrov. English behavior is preserved bit-for-bit.
Install
Tools β Add-ons β Get Add-ons β paste code:
755799523
Restart Anki. Done.
Languages & sources
| Language |
Source |
Definitions |
Audio |
IPA |
Verb forms |
| π¬π§ English |
Oxford Learner's Dictionaries |
β |
β mp3 |
β |
β |
| π©πͺ German |
DWDS |
β native |
β mp3 |
most words |
β irregular |
| π·πΊ Russian |
ru.Wiktionary |
β native |
β ogg+mp3 |
β |
β |
| π«π· French |
Larousse |
β native |
β mp3 |
β |
β |
| π¦πΏ Azerbaijani |
AZLEKS |
β native |
β |
bracketed |
β |
No API key required. All sources are scraped directly.
Usage
- Open Add Cards
- Type a word in the Word field
- Click the MultiDefine button or press
Ctrl+Alt+Shift+D
- Choose a language from the popup (or press
1β5)
The add-on fills:
- DefinitionAndExamples β definitions + examples with the headword clozed as
#word#
- Audio β
[sound:β¦] tag
- Phonetics β IPA transcription
- VerbForms β conjugated/inflected forms
- Opens a Google image search for the word
Bulk define: Browser β select notes β Edit β MultiDefine in bulkβ¦
Configuration
Tools β Add-ons β MultiDefine β Config
Key options:
| Option |
Description |
4. languages |
Ordered list of enabled languages β controls popup order and 1βN keybinds |
enabled: false |
Hide a language without removing it |
max_examples / max_definitions |
Limits per sense (false = unlimited) |
corpus |
English only: "American", "British", "American_first", "British_first" |
See AutoDefineAddon/config.md for full documentation.
For developers
Setup
git clone https://github.com/thegeneralist01/anki-multidefine.git
cd anki-multidefine
# Symlink into Anki (macOS/Linux)
ln -s "$PWD/AutoDefineAddon" \
~/Library/Application\ Support/Anki2/addons21/multidefine
Restart Anki. Edits to the repo are live immediately on next restart.
Running tests
pip install requests beautifulsoup4
python3 scripts/check_providers.py
All 6/6 checks must pass.
Building the package
bash scripts/build_ankiaddon.sh
# β multidefine.ankiaddon
Adding a new language
- Write
AutoDefineAddon/providers/<lang>.py β subclass DictionaryProvider
- Register in
AutoDefineAddon/providers/__init__.py
- Add entry to
4. languages in config.json
See AGENTS.md for the full technical reference and CONTRIBUTING.md for contribution guidelines.
License
GPL v2 β see individual files for attribution.
oxford.py is BSD 3-Clause Β© NearHuscarl.