Safe Haskell | None |
---|---|
Language | Haskell98 |
Simplified Chinese - English dictionary with pinyin phonetics.
- initiate :: IO ()
- version :: Version
- data Entry = Entry !Text Variant [Variant]
- ppEntry :: Entry -> Text
- entryVariants :: Entry -> [Variant]
- entryOriginal :: Entry -> Text
- entrySimplified :: Entry -> Text
- entryTraditional :: Entry -> Text
- entryWordFrequency :: Entry -> Int
- entryPinyin :: Entry -> [Text]
- data Variant = Variant {}
- lookupMatch :: Text -> Maybe Entry
- lookupMatches :: Text -> Maybe [Entry]
Documentation
Dictionary entry data Entry = Entry { entrySimplified :: !Text , entryTraditional :: !Text , entryPinyin :: [Text] , entryDefinition :: [[Text]] } deriving ( Read, Show, Eq, Ord )
entryVariants :: Entry -> [Variant] Source #
entryOriginal :: Entry -> Text Source #
entrySimplified :: Entry -> Text Source #
entryTraditional :: Entry -> Text Source #
entryWordFrequency :: Entry -> Int Source #
entryPinyin :: Entry -> [Text] Source #
Variant | |
|