Skip to content

nelsontkq/epubclozer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Epub Clozer

Turn an epub into Anki cloze flashcards

Description

This script will take every unique word in an epub and create a anki cloze flashcard using an example found in the book.

Requirements

Install python 3.11

Install epubclozer

python -m pip install epubclozer

How to use

Create a cloze for each unique word in epub:

python -m epubclozer --lang "en" --path "C:/path/to/book.epub"

Ignore stop words by adding the --exclude-stop-words option.

Note this will only work effectively in you pass the target language --lang as well.

python -m epubclozer --lang "es" --path "C:/path/to/book.epub" --exclude-stop-words

See epubclozer --help for all options

Your Anki package will be put in the same location as the epub.

About

Turn an epub into Anki flashcards

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages