cjk-0.1.0.1: Data about Chinese, Japanese and Korean characters and languages

Safe HaskellNone

CJK.Data.Unihan.RadicalStrokeCounts

Contents

Synopsis

Dictionary- and standard-consistent radicals

type IsSimplifiedKangXi = BoolSource

Whether the character is formed from the simplifed version of the radical

unicode :: Char -> [RadicalStrokeCount (KangXiRadical, IsSimplifiedKangXi)]Source

Radicalstroke count consistent with ISOIEC 10646

The first value in the returned list, if any, is equal to the normative radical-stroke value defined in ISO/IEC 10646.

kangXi :: Char -> [RadicalStrokeCount KangXiRadical]Source

Radical/stroke counts consistent with the KangXi dictionary

kanWa :: Char -> [RadicalStrokeCount KangXiRadical]Source

Radical/stroke counts consistent with the Morohashi dictionary

Language-consistent radicals

korean :: Char -> [RadicalStrokeCount KangXiRadical]Source

Radical/stroke counts usually used in Japanese

japanese :: Char -> [RadicalStrokeCount KangXiRadical]Source

Radical/stroke counts usually used in Japanese

Font-consistent radicals

data AdobeJapan1_6 Source

Constructors

AJ1_6 

Fields

aJ1_6IsDirect :: Bool

True if the Unicode code point maps directly to the Adobe-Japan1-6 CID, or False if it is a variant form which is not directly encoded

aJ1_6CID :: Int

The ID of the character in the Adobe-Japan1-6 font

aJ1_6RadicalStrokeCount :: RadicalStrokeCount (KangXiRadical, StrokeCount)
 

Instances

adobeJapan1_6 :: Char -> [AdobeJapan1_6]Source

Radical/stroke count in the Adobe-Japan1-6 font

This data is unusual in that it explicitly includes the stroke count for the form that the radical takes in the glyph.