Giter Club home page Giter Club logo

anki-cloze-type-in's Introduction

An Anki deck for language learning with cloze type-in

About this deck

The code and data in this repo are designed to help myself learn German by typing in the answers. It is based on the Cloze (fill-in-the-blank) type of Anki cards.

Format of the Note

Each note in the Anki deck is designed to support language learning with the following fields:

  1. Sentence: A sentence in the target language with the cloze deletion.
  2. Rank: The rank of the word being learned.
  3. Word: The target word to learn.
  4. Definition: The definition of the word.
  5. Translation: The translation of the sentence into the learner's first language.
  6. Note: Any additional notes for the word and sentence (e.g., related grammar).
  7. CEFR: The Common European Framework of Reference for Languages (CEFR) level of the word.

Check out the raw data for an example.

Usage

First, preprocess the raw CSV file:

python ./scripts/preprocess.py ./raw/input.csv ./pre/output.csv

This will generate a new CSV file named "input_preproc.csv", where specified words in each sentence are wrapped with the cloze deletion syntax.

Next, generate the Anki deck:

python ./scripts/build_deck.py ./pre/output.csv output 

This will create an Anki deck named "output.apkg" in decks/ that can be imported into Anki.

Customization

You can personalize the appearance of your Anki cards by editing the HTML templates (front.html and back.html) and the CSS file (style.css).

Data

I am working on a few decks for German language learning. The data sources are:

  1. Goethe Zertifikat Wortliste

anki-cloze-type-in's People

Contributors

huangziwei 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.