This Python script loads a list of words from a JSON file, inspired by the content from the VocabTest platform, specifically focusing on sixth-grade Unit 1 words. It generates a deck of cards in XML format for use on vocabulary study platforms, such as Anki.
-
Ensure you have a JSON file with word information. You can use the format provided in the example
words.json
. -
Run the
generate_deck.py
script to generate the deck in XML format.python generate_deck.py
-
The script will create a file named
vocabulary_deck.xml
containing the deck of cards.
-
generate_deck.py
: The main script that loads words from a JSON file and generates the card deck in XML. -
words.json
: Example file with word information, inspired by the VocabTest platform for sixth-grade Unit 1. The information is translated into Spanish. -
vocabulary_deck.xml
: Output file containing the deck of cards in XML format.
- Python 3.x