Helper scripts to move my learning sets from Quizlet to Anki.
- Export Quizlet sets as text files, with links, separated by tabs.
- Concatenate all input files to one
awk '{print $0}' 3k-*.txt > 3k.txt
- Convert "term (example)" to "term\texample" and fix all formatting error or missing info
./detach_example.py raw/3k.txt > detached/3k-detached.txt
- Load 3k-detached.txt in libreoffice calc Use only single terms in the translation column. It is easier to make sensible reverse cards.
- Copy first column with english terms
- Paste to https://tophonetics.com/ and convert to pronounciation symbols (IPA).
- Copy back the ipa result to a new second column in the sheet
- Copy the whole new table to a new text file in the ipa directory
- Convert to a new format usable for Anki. It also generates a "downloader" script for the image links.
./to_anki_notes.py ipa/3k-ipa.txt 3k > import/3k-import.txt
- Download the images and move to their place.
cd downloaders
./download_media_3k.sh
cd ..
cp -r downloaders/media/* ~/.local/share/Anki2/User\ 1/collection.media/
- Import in Anki (enable html tags)