LOD to Anki

Publié le 23 février 2022

Voir la réutilisation

Bruno Pacheco

1 réutilisations




Intégrer sur votre site

URL stable



License: GPL v3

lod-anki is a command line tool that allows you to import data from the Luxembourger Dictionary Online (LOD) into Anki, a popular open-source flashcard program. With this library, you can create personalized flashcards from LOD dataset, enabling efficient learning and retention of information.


  • Import data from LOD.lu into Anki decks.
  • Map noun, verb, preposition, conjunction, adjective, and adverb to words dataset.
  • Export words into Anki flashcards.


Install the command line, running the following command.

npm i -g lod-anki


  1. Download and extract the file.
  2. Navigate to the root folder where the zip file was extracted.
  3. Prepare your deck file (see below).
  4. Run lod-anki export <deckFile>.


Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request. Make sure to follow the existing code style and include appropriate tests.


This project is licensed under the GPL v3 License.


How to build a deck file?

The deck file is a JSON file, with the following schema:

  • name: It is the name of the deck, shown in Anki. It will be concatenated with the language, to avoid duplicity, if you want to export multiple languages;
  • fileName: It is the file name. It will be concatenated with the language, to avoid duplicity;
  • flashcards: The collection of words in Luxembourgish you want to export;
  • languages: The collection of languages you want to export to. The possible values are: ALL (German), EN (English), FR (French), and PO (Portuguese);
  • types: The collection of word types you want to export. lod-anki will filter the flashcards (or words), and export only the ones matching the types in this list. This field is optional. noun, verb, preposition, conjunction, adjective, and adverb are supported by this tool.

Below you can see an example:

    "name": "Greeting in Luxembourgish",
    "fileName": "greeting_in_luxembourgish",
    "flashcards": [
    "languages": [

When building the deck, put the words in lowercase. But if it is a noun, capitalize the first character, as it is in Luxembourgish.

Jeux de données utilisés 0

Discussion entre le producteur et la communauté à propos de cette réutilisation.

Plus de réutilisations

Découvrez davantage de réutilisations.