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

Safe HaskellNone

CJK.Data.Pinyin

Synopsis

Documentation

data Tone Source

Instances

toneCombiningMark :: Tone -> Maybe CharSource

Returns the Unicode combining character used to produce the accent for this tone. Returns Nothing if no accent is required.

combiningMarkTone :: Char -> Maybe ToneSource

Returns the tone associated with this Unicode combining character, if any.

data Phone Source

Constructors

Phone 

Fields

sound :: Text
 
tone :: Tone
 

Instances