Code Monkey home page Code Monkey logo

jlpt-sensei-anki's Introduction

jlpt-sensei-anki

This is a small repository containing methods to retrieve all/most of the grammar examples from JLPT-sensei into a JSON formatted file.

This repository also contains code to transform this JSON file into an Anki deck!

I wrote this because JLPT-sensei has some really good examples, but none of those are on Anki. Acutally.. some guy built a few Anki decks using the JLPT-sensei flash cards, but those are just images. To better learn Japanese grammar, I think it is better to have the user translate an english sentence into japanese using his keyboard, rather than just showing him a flashcard. You can't do this with JLPT-sensei flashcard alone, you need the text itself. Not to mention a lot of the sentence examples are not included anyway.

So here it is, this repo gives you access a very useful deck for learning Japanese grammar! I may even upload it on Ankiweb if I have time. Here's a few screenshots of how it looks in action (using Anki for android).

Question Answer
Front of the Anki card Back of the Anki card

Installation

This project uses poetry. Use the following command at the root of the project to install it

poetry install

Usage

This project uses click to easily interact via the command line.

After installing the project with poetry, you should be able to to download the grammar examples with the following command:

poetry run python3  src/jlpt_sensei_download.py  json_file_you_want.json

And to create the associated Anki deck:

poetry run python3 src/anki_deck.py   json_file_you_want.json   deck_file.apkg

Credit

jlpt-sensei-anki's People

Contributors

plouvart avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.