Giter Site home page Giter Site logo

patarapolw / hanzilevelup Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 1.0 15.77 MB

A Hanzi learning suite, with levels based on Hanzi Level Project, aka. another attempt to clone WaniKani.com for Chinese.

License: Apache License 2.0

Python 44.93% JavaScript 34.95% HTML 15.31% CSS 4.80%
wanikani chinese mandarin hanzi

hanzilevelup's Introduction

Hanzi LevelUp

A Hanzi learning suite, with levels based on Hanzi Level Project, aka. another attempt to clone WaniKani.com for Chinese.

Features

  • Speak sentences and vocabularies when clicked on. (Tested on Mac OSX)
    • May need to be modified to google_speech if you want it spoken on non-mac.
  • Show Hanzi decomposition and super-decomposition (powered by CJKhyperradicals).
  • 60 major Hanzi levels -- learn or review in each levels, based on Hanzi Level Project.
  • Breakdown sentences into vocab, for learning, with audio -- powered by jieba.
  • Export to Excel file.
  • SRS (Spaced-repetition system) is now possible via Jupyter Notebook.

Installation and Get-it-running

  • Install Python first, if you don't have one.
  • Clone the project from GitHub.
  • Change the directory to the project folder, in the terminal and create a virtual environment.
  • Install poetry, and run poetry install.
  • Run app.py.
  • Go to https://localhost:8080 on your browser.

Activating the SRS

The app server has to be running first. In Jupyter Notebook:

>>> from webapp.databases import Vocab
>>> from webapp import db
>>> iter_quiz = Vocab.iter_quiz(tag='col1', is_due=True)
>>> card = next(iter_quiz)
>>> card.hide()
An HTML-rendered front of the card is shown.
>>> card.show()
An HTML-rendered back of the card is shown.
>>> card.get_more_sentences()
Add more sentences to the card, if the number of example sentences is too few.
>>> card.wrong()
Mark the card as wrong.
>>> card.right()
Mark the card as right.
>>> card.mark()
Add the tag "marked" to the card.
>>> card.unmark()
Remove the tag "marked" from the card.
>>> db.session.commit()
Commit changes.

Screenshots

Related Projects

hanzilevelup's People

Contributors

patarapolw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

za3im-s

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.