All Projects → wzyboy → kindle_vocab_anki

wzyboy / kindle_vocab_anki

Licence: other
Export Kindle Vocabulary Builder to Anki

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to kindle vocab anki

Readteractive
Tool for writing and generating interactive books.
Stars: ✭ 23 (-39.47%)
Mutual labels:  mobi, kindle
The Economist Ebooks
经济学人(含音频)、纽约客、自然、新科学人、卫报、科学美国人、连线、大西洋月刊、新闻周刊、国家地理等英语杂志免费下载、订阅(kindle推送),支持epub、mobi、pdf格式, 每周更新. The Economist 、The New Yorker 、Nature、The Atlantic 、New Scientist、The Guardian、Scientific American、Wired、Newsweek magazines, free download and subscription for kindle, mobi、epub、pdf format.
Stars: ✭ 3,471 (+9034.21%)
Mutual labels:  mobi, kindle
Narou
Narou.rb - 小説家になろうのダウンローダ&縦書き整形&管理アプリ。Kindle(などの電子書籍端末)でなろうを読む場合に超便利です!
Stars: ✭ 256 (+573.68%)
Mutual labels:  mobi, kindle
ComicBookMaker
Script to fetch webcomics and use them to create ebooks.
Stars: ✭ 27 (-28.95%)
Mutual labels:  mobi, kindle
EbookReader
The EbookReader Android App. Support file format like epub, pdf, txt, html, mobi, azw, azw3, html, doc, docx,cbz, cbr. Support tts.
Stars: ✭ 37 (-2.63%)
Mutual labels:  mobi, kindle
Asciidoctor Epub3
📘 Asciidoctor EPUB3 is a set of Asciidoctor extensions for converting AsciiDoc to EPUB3 & KF8/MOBI
Stars: ✭ 166 (+336.84%)
Mutual labels:  mobi, kindle
Kindle maker
a tool to make mobi-format file wich could be load into Kindle
Stars: ✭ 70 (+84.21%)
Mutual labels:  mobi, kindle
InMangaKindle
Descarga manga en español en diferentes formatos (PNG, PDF, EPUB, MOBI)
Stars: ✭ 43 (+13.16%)
Mutual labels:  mobi, kindle
mobi
python based software to unpack kindlegen generated ebooks
Stars: ✭ 37 (-2.63%)
Mutual labels:  mobi, kindle
Laravel Book
Up to date Epub, Mobi and PDF versions from the official Laravel Docs
Stars: ✭ 221 (+481.58%)
Mutual labels:  mobi, kindle
Kindle2Anki
Export Vocabulary Builder to Anki APKG
Stars: ✭ 84 (+121.05%)
Mutual labels:  kindle, anki
ankimaker
Automatically generates Anki decks from many sources
Stars: ✭ 43 (+13.16%)
Mutual labels:  kindle, anki
my-clippings-to-json
Format Kindle clippings as JSON.
Stars: ✭ 16 (-57.89%)
Mutual labels:  kindle
Wedge
可配置的小说下载及电子书生成工具
Stars: ✭ 62 (+63.16%)
Mutual labels:  mobi
roam-to-anki
Sync flashcards from Roam Research to Anki
Stars: ✭ 34 (-10.53%)
Mutual labels:  anki
books
电子书(计算机类,经济学,数学), 格式,pdf、mobi、epub
Stars: ✭ 804 (+2015.79%)
Mutual labels:  mobi
anki-slides-import
📇 Import pdf slides + text notes into Anki.
Stars: ✭ 24 (-36.84%)
Mutual labels:  anki
immersive
Language learning mpv script for looking up words within mpv and generating Anki cards
Stars: ✭ 43 (+13.16%)
Mutual labels:  anki
MyKindleTools
我的 kindle 相关工具合集
Stars: ✭ 33 (-13.16%)
Mutual labels:  kindle
eBookDesignChecklist
A progressive web app to help you design eBooks
Stars: ✭ 15 (-60.53%)
Mutual labels:  kindle

Export Kindle Vocabulary Builder to Anki

Kindle Vocabulary Builder is useful, as it collects new words automatically when you read books. However, it has only two decks: "Learning" and "Mastered". It lacks a lot of functionalities found in professional flashcard software like Anki. Kindle Vocabulary Builder stores all the data in /system/vocabulary/vocab.db SQLite3 database. This repo contains helpers to extract words from Kindle Vocabulary Builder and import them into Anki.

Usage

  1. Install requirements from requirements.txt.
  2. Use DeDRM Tools to strip DRM if your Kindle dictionary is protected by DRM (Note: built-in dictionaries cannot be decrypted).
  3. Use KindleUnpack to unpack your Kindle dictionary into raw HTML files.
  4. Run ./convert_dict.py mobi7/book.html dict.tsv to convert the HTML dictionary into a TSV dictionary.
  5. Run ./convert_vocab.py vocab.db dict.tsv notes.tsv to extract words from Kindle Vocabulary Builder, add definitions to them, and save them into a TSV Anki notes file.
  6. You can now import the notes.tsv file into Anki.

File Formats

TSV stands for Tab-seperated vlues. The fact that there are unlikely any \ts in dictionary definitions or book citations, makes TSV a better choice than CSV for both plain-text dictionaries and Anki notes.

The TSV dictionary generated by convert_dict.py has two columns, Stem and Definition. You can use --expand-iform flag to make every inflectional form its own entry (e.g. abandon, abandoned, abandoning, abandons would be four entries with same definitions). The generated file would be much larger.

The TSV dictionary could also be used in Kindle Mate.

The TSV Anki notes file has three columns: Stem, Usage, Definition. You can map them to whatever fields you like. The "Usage" and "Definition" columns are HTML, so remember to check "Allow HTML in fields" when importing into Anki. The "Usage" column contains all the citations in Kindle Vocabulary Builder, i.e. if you look up a word in different books, the usage sentences will be merged into one single Anki note.

Templates and Styling

The templates and styling below make the rendered Anki cards very similar to their counterparts in Kindle Vocabulary Builder.

Front Template:

<h1>{{Word}}</h1>
<hr>
{{Usage}}

Back Template:

{{FrontSide}}
<hr>
{{Definition}}

Styling:

h1 {
 text-align: center;
}
blockquote small:before {
 content: " -- ";
}

Similar Projects

External Links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].