Anki Deck Automation

Using beautiful soup, gTTS (Google Text-to-Speech) and genanki python libraries, I created a script that scrapes a japanese website to create a anki deck for the book みんなの日本語.

This projects is one of the coolest projects since it really benifited me, 4 months in, until now.

Using Inspect in chrome, I was able to extract the general layout of the website; this did help filter on the text I needed when I wrote the web scraping script.

Japanese Website

The scrapped data is then saved a json file and processes in a while loop using the gTTs library. Each word is then searched in “じしょう” or jishio. Which is the japanese dictionary. Finnaly the final product looks like this:

The anki deck, Still use it after my 4 months japanese journey.