Giter VIP home page Giter VIP logo

radicals's Introduction

radicals

radicals.py is script to quickly search for japanese kanji characters using its radicals/parts.

Usage

List available radicals and their description

$ python3 radicals.py 
一  one
丨  line
丶  dot
丿  slash
乙  second
亅  hook
二  two
亠  lid
人  man, human
儿  legs
...
龜  turtle, tortoise
龠  flute

Search for kanji using radical/part descriptions

$ python3 radicals.py lid human silk
綷  lid, man, human, ten, complete, small, insignificant, short, tiny, silk
纉  shell, eye, silk, short, tiny, small, insignificant, man, human, big, very, two, lid

List kanji radicals/parts

$ python3 radicals.py 知
口  mouth, opening
矢  arrow

Installation

Just clone the repository and download the kanji and radical data with

$ make download

Fish shell completion

If you copy the included radicals.fish file in the correspoding folder for fish shell completions ~/.config/fish/completions/, you can use the handy autocompletion/autosuggestions features with radicals.py.

(Note that the fish completion file assumes that there's a program called rad in your $PATH. To make this work be sure to rename radicals.py to rad or change the fish completion file accordingly. Also radicals.fish should be named according to the program in your path, i.e. rad.fish).

radicals fish completion example

radicals's People

Contributors

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