Skip to content

Small scripts to create Anki Decks with embedded images quickly.

Notifications You must be signed in to change notification settings

saratrajput/AnkiCardCsvCreator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anki Deck Creator Helper

It contains a python script and a couple of linux commands to help in quickly creating Anki decks with embedded pictures.

Best use case scenario is to use song lyrics file as input of target language.

Here's an example card:

Example Card

Requirements

  • Linux
  • Python 3.3 and up
  • NLTK
  • google-images-download
  • googletrans
  • pandas

Usage

python createVocab.py inputFile.txt knownWords.txt

If there are no known words, provide an empty .txt file.

Input language for translator can be changed within createVocab.py.

The following bash commands are to resize the images to 400x300 which reduces the size of the image and makes them easily viewable.

$ for file in *
$ do convert $file -resize 400x300 $file
$ done

Now, these downloaded images can be copied to collection.media folder.

How to find collection.media folder

Development

$ virtualenv -p <python3Location> <foobar>
$ . foobar/bin/activate
$ pip install -r requirements.txt

About

Small scripts to create Anki Decks with embedded images quickly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages