/Anki_card_generation

semi-automatically generate Anki cards from arbitrary text using basic NLP techniques (spaCy) and statistical measures for keyword and term extraction

Primary LanguagePython

Anki Card Generation

Semi-automatically generate Anki cards from arbitrary text using basic NLP techniques (spaCy) and statistical measures for keyword and term extraction.

Interactive mode

  1. Anki desktop app must be installed and running, with installed add-on called AnkiConnect
  2. Create file input.txt in the txt directory
  3. Paste into the file some text from which you want to generate cards
  4. Run main.py and enjoy

Note: For now, generation is heavily tied to my 35 custom note types, but with some tinkering, it is possible to change this behavior (PRs welcome ;) ). Maybe some time I will get around to implementing programmatic generation of the required note models.

Creating cards with code

Implemented, but documentation TBD

.txt to Anki

Implemented, but documentation TBD