Git Product home page Git Product logo

futur's Introduction

Futur

A language-learning flashcard game by Kevin Higgins

Setup

Requirements:

  • Python 3.9.0+ (tested on 3.10.12)
  • pip

Steps:

  1. Create a venv in your local copy of this repo

    python3 -m venv .venv

  2. Activate the venv

    source .venv/bin/activate (Linux) or .\.venv\scripts\bin\activate (Windows)

  3. Install fsrs (spaced repetition library)

    pip install fsrs

  4. Run the app

    python3 futur.py future-irregular-top-10.json

Configuration

Create your own curriculum by copying and modifying the JSON files under curricula.

Choose which curriculum to examine via the final command line argument when running the program.

Tweak the wording of the questions by modifying question-wordings/templates.json and question-wordings/column-renamings.json. The intention of the latter is to yield more naturalistic prompts with a pronoun like "vous" instead of a bunch of grammatical terms.

Planned features and changes

  • friendlier presentation of due date - "today", "tomorrow", "in 5 minutes"
  • better control and options, a quit key, remove debug text
  • multiple-choice questions (with the Question storing many wrong answers, some of which are randomly chosen when it is asked)
  • improve and refactor the spitballed performance timing (currently spread across two modules)
  • a vocabulary question type (would need a separate vocabulary data file), so probably splitting GuessQuestion into GuessVerbQuestion and GuessTranslationQuestion
  • an option to time your typing to parameterise the performance rating
  • a vocabulary list downloaded from the web so that I can update it remotely (w/o making a commit, I mean)
  • perhaps a UI
  • better variable names (more domain-driven)

futur's People

Contributors

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