Coder Social home page Coder Social logo

kanji's Introduction

a fast dictionary, lists related to kanji and scripts to compile the lists.

kanji viewer

  • kanji stroke order, meaning and common readings lookup
  • top 30000 words fuzzy search that searches for similar pronunciation and sorts results by frequency
  • single-file browser page. the file can be downloaded and viewed in a browser but is also hosted here
  • download/kanji-viewer.html

csv lists

under download:

  • components-ck.csv: [components, kanji] alternative to radkfile
  • components-kc.csv: [kanji, components] alternative to kradfile
  • jouyou-kanji.csv: [kanji, meaning, readings] the 2136 jouyou kanji as of 2020 sorted by stroke count with single word meaning and common readings
    • some meanings use relatively uncommon english words, for example: acquiesce, adroit, ardent, beckon, confer, consign, consort, consummate, portent. in a few cases the words are ambiguous. for example "vice" isnt meant in the sense of "shortcoming" but in the sense of "deputy"
    • order by stroke count roughly corresponds to complexity, components come first
    • the jouyou kanji in general exclude some commonly seen kanji, for example: 嬉萌伊綺嘘菅貰縺繋呟也
  • jouyou-kanji-learning.csv: [[kanji, meaning, readings], [word, reading, meanings]] kanji information and example words with translations. sorted by number of common readings and readings alphabetically. kanji with few common readings come first
  • jouyou-kanji-only-words.csv: [word, readings, meanings] frequently used example words for the jouyou kanji
  • jouyou-kanji-with-words.csv: [kanji, meaning, readings, words] like jouyou-kanji.csv but with an additional column for newline separated example words
  • jouyou-stroke-count.csv: [kanji, stroke-count]
  • jouyou-two-shared-components.csv: [component, kanji ...] list of kanji that share at least two components
  • jouyou-with-shared-readings.csv: [kanji, readings, multiple-kanji-per-reading]
  • kanji-radicals.csv: [stroke-count, radical, meaning, variants, note, is_new]
  • multiple-kanji-to-reading.csv: [multiple-kanji, reading]
  • ideophones.csv: [romaji, meanings] onomatopoeia, sound symbolisms
  • jouyou-kanji-learning-oneline.csv: [kanji, meaning, readings, example-words] like jouyou-kanji-learning.csv but words in one separate column

some lists can be customized, see exe/update-kanji-words

anki deck

  • download/ja-kanji-learning.apkg: [kanji, [readings, meaning, example words]] and reverse cards

data sources

data is included, except for kanjisvg. all other data of this project is cc-by-sa-4.0.

technical

  • the generator scripts uses node.js and its package manager npm. code is written in coffeescript, which is javascript just with reduced syntax
  • how to recreate the csv files
    • initialise the development environment once with "npm install" to install dependencies, which creates a node_modules directory in the current directory
    • see files under exe/, they are shell scripts and can be executed with ./exe/filename and contain configuration options
    • for other tools see "coffee js/filename"
  • how to recreate kanji-viewer
    • requires the kanji directory from kanjivg to have been downloaded and saved under data/kanjivg
    • create data files with "./exe/update-viewer-data"
    • execute "./exe/update-viewer"
    • the result file is build from html/viewer-template.html
  • good to know regarding unicode: multiple kanji components/radicals and kanji that look exactly the same exist at separate codepoints. see wikipedia: kangxi radical unicode

kanji's People

Contributors

sph-mn 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.