Code Monkey home page Code Monkey logo

tmsj's Introduction

tmsj - Teach me some Japanese

A simple go program that parses a json for words or phrases you want to learn and outputs them into stdout. I will primarily use this to learn Japanese by running it periodically somehow. It will therefore output a random phrase/word/kanji or something that I should learn.

It might work for other languages since you can just change the content of the json files. Such as changing the contents glossary.json into the language you want to learn.

The kanji meanings I have filled in in this repository is not always both on-yomi and kun-yomi. I only add the ones that I should learn in my Japanese course.

I have added a flag -c for printing to a file that conky can parse. The conky script for this will come up soon.

Install instructions

  • Compile with go install.
  • Add a file .tmsj in your home dir that looks the following:
kanji=/path/to/kanji.json
glossary=/path/to/glossary.json

  • Run with tmsj and use -h for help.

TODO

Add flags to run different functionalities of the program such as:

  • Flags that tell how many facts you want and which type (maybe)
  • Add declension to verbs and adjectives in glossary (for advanced learning)
  • Add support for reading glossary and kanji from multiple files

tmsj's People

Contributors

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