Easily import data from sources like Onyx Boox or "Language Learning for Netflix" into Anki
MIT License
Learning a foreign language? It takes a lot of effort to make flash cards every time you find a new word you'd like to learn -- Dejima makes it possible for you to use your time more efficiently by automatically creating Anki flash cards from various sources you might be using to learn a new language including "Language Learning with Netflix".
Free Software: MIT License
You can read more about the built-in sources below.
lln-json
)In "Language Learning with Netflix" (LLN), you can "save" particular words or phrases. Those phrases can be exported from LLN using your browser, and imported into Anki as flash cards.
Question:
Answer:
Reverse Question (Optional):
Reverse Answer (Optional):
dejima
with the following command, replacing My Deck Name
with the name of the deck you'd like the cards generated in, and /path/to/export.json
with the path to the file you exported above:dejima import "My Deck Name" lln-json -i /path/to/export.json
That's it!
boox
)In Onyx Boox e-readers and tablets, there's an annotation mode in which you can highlight particular words or sentences, see a translation into your native language, or write notes to yourself about:
If you, too, use these for making note of unfamiliar words, you can use Dejima to convert those highlighted annotations into flash cards.
dejima
with the following command, replacing My Deck Name
with the name of the deck you'd like the cards generated in, and /path/to/export.txt
with the path to the file you exported above:dejima import "My Deck Name" boox -i /path/to/export.txt
You can install dejima from pypi by running:
pip install dejima
Dejima was built to make it easy for me to easily add sources I need so hopefully that effort makes it easy for you, too!
A sample project exists at https://github.com/coddingtonbear/dejima-importer-example showing you how you might create your own importer class.
Anki is the Japanese word for "memorization". During one particular part of Japanese history, one of the few ways you could import goods into Japan was via the port of Dejima in Nagasaki.