Skip to content

Ynscription/KozakuraDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Kozakura DB - A Kanji by Radicals SQLite Database

KozakuraDB is a SQLite database file compiled from the radkfile and kanjidic2 files.

Structure

The database contains three tables:
Kanji (id INTEGER PRIMARY KEY, lit TEXT, strokes INTEGER)
Rad (id INTEGER PRIMARY KEY, lit TEXT, strokes INTEGER, entry INTEGER, symbol TEXT)

  • id is the int32 scalar value of the UTF-8 encoding of the character.
  • lit is the UTF-8 encoded string of the character (or the kanji that best represents a radical that doesn't have a Japanese character).
  • strokes is the number of strokes of the character in int32.
  • entry is the entry number of a radical in the RADKFILE
  • symbol is the UTF-8 encoded string of the radical (using non Japanese characters for those that don't have one).

KanjiByRad (rad INTEGER, kanji INTEGER, PRIMARY KEY(rad, kanji)

  • rad is the id of the radical
  • kanji is the id of the kanji

License

This work is provided under a Creative Commons Attribution-ShareAlike Licence (V3.0). The Licence Deed can be viewed here, and the full Licence Code is here.

This publication uses material from the radkfile and kanjidic2 dictionary files. These files are property of the Electronic Dictionary Research and Development Group and are used in accordance with the licence provisions of the Electronic Dictionaries Research Group. See http://www.edrdg.org/edrdg/licence.html

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published