Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hugo-hattori/autofill_anki_pjo

Robotic Process Automation Project.
https://github.com/hugo-hattori/autofill_anki_pjo

anki anki-deck anki-flashcards automation jupyter jupyter-notebook python selenium selenium-python selenium-webdriver time webdriver-manager

Last synced: about 1 month ago
JSON representation

Robotic Process Automation Project.

Awesome Lists containing this project

README

        

Autofill Anki



This is a code created for personal use with the objective of automatically
creating flashcards for Anki by using phrases and words gathered from PJO
which is a japanese online course.

### Packages used:
+ Selenium
+ webdriver_manager
+ time

What is Anki?


Anki is a free open-source flashcard program that uses spaced repetition technique,
a much more efficient method for learning and remembering vocabulary than the traditional study means.

What is PJO?


PJO or "Programa Japonês Online" is a language course for japanese learning in which
each lesson a series of new sentences and vocabulary is presented and explained in detail.

One of the PJO course's guidelines is to add each new phrase and vocabulary presented
in each lesson to Anki as a flashcard, which can be quite a hassle considering each flashcard
contains a front and a back, hence the creation of Autofill Anki.

obs: "import infos" refers to a .py file that contains login information for both Anki and PJO plataforms and the Deck names used on Anki.

About Flashcard and Deck creation


Before starting adding cards to the Anki account it is necessary to create a Deck, in this case there were 3 Decks created:

+ Escrita Japonesa: a deck focused on pronunciation and how to read kanjis
+ Frases em Japonês: a deck focused on understanding the meaning of sentences
+ testes: a deck created just for testing purposes

As each lesson on PJO is either a kanji and word pronunciation focused lesson or a sentences focused lesson, the code below
allows the user to specify which Deck is going to get cards added:

https://github.com/Hugo-Hattori/Autofill_Anki_PJO/blob/1c91d3fae7555ccc0a87b016f6a1abfa22161cb4/autofill_Anki_PJO.py#L101-L111

Each flashcard contains a front (word or sentence to learn) and a back (translation and how to read the word/sentence),
each front and back is extracted from a Python list respectively named "lista_frentes" and "lista_tras". Both of those lists
extract data from the PJO lesson website specified as "link_licao" by the user.
The code below then adds each flashcard to the respective deck:

https://github.com/Hugo-Hattori/Autofill_Anki_PJO/blob/1c91d3fae7555ccc0a87b016f6a1abfa22161cb4/autofill_Anki_PJO.py#L120-L125