GithubHelp home page GithubHelp logo

jilouc / kana-test Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wydd/kana-test

1.0 2.0 0.0 630 KB

Command line utility to test your kana reading capability

License: MIT License

JavaScript 27.04% Python 37.93% HTML 35.03%

kana-test's Introduction

kana-test

Command line utility to test your kana reading capability. Program choses a random word from a japanese dictionary and you have to translate its hira or kata form in romanji (hepburn).

To run this you must have python3.

pip install romkan

Then, you can just. python kana-test.py hira 3 To launch a test for hiragana reading with 3 tries allowed.

If you want to generate *.list.gz

Download edict2 from http://www.edrdg.org/jmdict/edict.html uncompress it then run gen-hira.py

Sample

Hira

~> python kana-test.py hira 2
まちぜんたい
> machizentai
	correct!
したぞり
> shitazori
	correct!
ろんりしふと
> ronrishifuto
	correct!
じんみんせんせん
> jinhinsensen
	WRONG!
じんみんせんせん
> jinhensensen
	WRONG!
	Answer was jin mi nsensen
	You wrote: jin[he]nsensen

Kata

~> python kana-test.py kata 1
キキツタエル
> kikitsutaeru
	correct!
シメシアワス
> shinoshiawasu
	WRONG!
	Answer was shi me shiawasu
	You wrote: shi[no]shiawasu

kana-test's People

Contributors

jilouc avatar wydd avatar

Stargazers

 avatar

Watchers

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