Package cjklib
[hide private]
[frames] | no frames]

Package cjklib

source code

Han character library. Cjklib provides language routines related to Han characters (characters based on Chinese characters named Hanzi, Kanji, Hanja and chu Han respectively) used in writing of the Chinese, the Japanese, infrequently the Korean and formerly the Vietnamese language(s). Functionality is included for character pronunciations, radicals, glyph components, stroke decomposition and variant information.


The following functions are supported by this library:


The following tools come with this library:


The library comes with its own set of sources on:

See the data files for comparison with other sources.

This project makes use of the Unicode Han database provided by the Unicode Consortium: Unicode Standard Annex #38 - Unicode Han database (Unihan):, 28.03.2008.

The following data is used:

This includes dictionary data from:

Currently no data validation scheme is implemented as this library is still in early development. Rather than specifying few data cjklib tries to support as much options as possible. The library tries to be as accurate as possible but mistakes do happen, especially for data which differs on different locales.


cjklib is written in Python and is well tested on Python 2.5. Apart from this dependency it needs a database back-end for most of its parts and library SQLAlchemy. Currently tested are:

Author: Christoph Burgmer <>

Requires: Python 2.5+, SQLAlchemy 0.5+ and either SQLite 3+ or MySQL 5+ and MySQL-Python

Version: 0.1alpha

Copyright: Copyright (C) 2006-2009 Christoph Burgmer

cjklib comes with absolutely no warranty; for details see License.

Parts of the data used by this library are copyrighted by the following organisations:

License: The library and all parts are distributed under the terms of the LGPL Version 3, 29 June 2007 ( if not otherwise noted.

Submodules [hide private]

Variables [hide private]
  __author__ = 'Christoph Burgmer <>'
The primary author of cjklib
  __license__ = 'LGPL'
The license governing the use and distribution of cjklib
  __url__ = ''
The URL for cjklib's homepage
  __version__ = '0.1alpha'
The version of cjklib