资 源 简 介
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. Cjklib is implemented in Python.
Documentation is hosted on http://cjklib.org. See also Features and Screenshots for examples. QuickStart gives a 3-step guide on installing. Read on with WhyUseCjklib.
Examples
Get characters by pronunciation (here: "국" in Korean):
>>> from cjklib import characterlookup>>> cjk = characterlookup.CharacterLookup("T")>>> cjk.getCharactersForReading(u"국", "Hangul")[u"匊", u"國", u"局",