Skip to main content

Library for CJK (chinese, japanese, korean) language data.

Project description

cihai - United front to provide open, accessible, and standardized access to CJK data

Python Package Documentation Status Build Status Code Coverage License

This project is under active development. Follow our progress and check back for updates!

Installation

$ pip install --user cihai

Command line

Character lookup:

$ cihai info 
char: 
kCangjie: VND
kCantonese: hou2 hou3
kCihaiT: '378.103'
kDefinition: good, excellent, fine; well
kFenn: 552A
kFourCornerCode: '4744.7'
kFrequency: '1'
kGradeLevel: '1'
kHKGlyph: 0871
kHangul: 
kHanyuPinlu: hǎo(6060) hāo(142) hào(115)
kHanyuPinyin: 21028.010:hǎo,hào
kJapaneseKun: KONOMU SUKU YOI
kJapaneseOn: KOU
kKorean: HO
kMandarin: hǎo
kPhonetic: '481'
kRSAdobe_Japan1_6: C+1975+38.3.3 C+1975+39.3.3
kRSKangXi: '38.3'
kTang: '*xɑ̀u *xɑ̌u'
kTotalStrokes: '6'
kVietnamese: háo
kXHC1983: 0445.030:hǎo 0448.030:hào
ucn: U+597D

Reverse lookup:

$ cihai lookup library
--------
char: 
kCangjie: WLGA
kCantonese: syu1
kCihaiT: '308.302'
kDefinition: library
kJapaneseOn: TOSHOKAN SHO
kMandarin: 
kPhonetic: 1235 1364
kRSAdobe_Japan1_6: C+14418+31.3.10
kRSKangXi: '31.10'
kSemanticVariant: U+5716<kMatthews
kTotalStrokes: '13'
kXHC1983: 1163.040:tú
ucn: U+5715

--------
char: 
kCangjie: VIIL
kCantonese: long4
kCihaiT: '390.506'
kDefinition: the place where the supreme stores his books; library
kHanyuPinyin: 21062.030:láng
kJapaneseOn: ROU
kMandarin: láng
kPhonetic: '832'
kRSAdobe_Japan1_6: C+21424+38.3.10
kRSKangXi: '38.9'
kTotalStrokes: '11'
kXHC1983: 0674.090:láng
ucn: U+5ACF

Works with any field:

$ cihai lookup hào
--------
char: 
kCangjie: VND
kCantonese: hou2 hou3
kCihaiT: '378.103'
kDefinition: good, excellent, fine; well
kFenn: 552A
kFourCornerCode: '4744.7'
kFrequency: '1'
kGradeLevel: '1'
kHKGlyph: 0871
kHangul: 
kHanyuPinlu: hǎo(6060) hāo(142) hào(115)
kHanyuPinyin: 21028.010:hǎo,hào
kJapaneseKun: KONOMU SUKU YOI
kJapaneseOn: KOU
kKorean: HO
kMandarin: hǎo
kPhonetic: '481'
kRSAdobe_Japan1_6: C+1975+38.3.3 C+1975+39.3.3
kRSKangXi: '38.3'
kTang: '*xɑ̀u *xɑ̌u'
kTotalStrokes: '6'
kVietnamese: háo
kXHC1983: 0445.030:hǎo 0448.030:hào
ucn: U+597D

--------
char: 
kCangjie: VNG
kCantonese: nau2
kCihaiT: '380.503'
kDefinition: girl
kFenn: 676H
kFourCornerCode: '4741.5'
kFrequency: '5'
kHKGlyph: 0876
kHanyuPinyin: 21033.100:hào,niū
kJapaneseOn: JUU NYU CHUU
kMandarin: niū
kPhonetic: '90'
kRSKangXi: '38.4'
kTotalStrokes: '7'
kXHC1983: 0836.060:niū
ucn: U+599E

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cihai-0.7.0.tar.gz (50.7 kB view details)

Uploaded Source

File details

Details for the file cihai-0.7.0.tar.gz.

File metadata

  • Download URL: cihai-0.7.0.tar.gz
  • Upload date:
  • Size: 50.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cihai-0.7.0.tar.gz
Algorithm Hash digest
SHA256 43cae13257258f7c407a19b83c613cc28b1a03d63bdf6a225d39af6d54790ceb
MD5 de89063f229a654fc673a955ca103f42
BLAKE2b-256 a2dadaa93f327702fc6b10477dc4a12afa4022af1c8a0b64794a043c43d6212e

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page