cndict-0.8.3: Chinese/Mandarin <-> English dictionary, Chinese lexer.

Safe HaskellNone
LanguageHaskell98

Data.Chinese.CCDict

Description

Simplified Chinese - English dictionary with pinyin phonetics.

Synopsis

Documentation

initiate :: IO () Source #

Load DB into memory. Otherwise it happens when the DB is first used.

data Entry Source #

Dictionary entry data Entry = Entry { entrySimplified :: !Text , entryTraditional :: !Text , entryPinyin :: [Text] , entryDefinition :: [[Text]] } deriving ( Read, Show, Eq, Ord )

Constructors

Entry !Text Variant [Variant]