Safe Haskell | None |
---|---|
Language | Haskell98 |
- data Token
- data Entry = Entry !Text Variant [Variant]
- entryOriginal :: Entry -> Text
- entrySimplified :: Entry -> Text
- entryTraditional :: Entry -> Text
- entryPinyin :: Entry -> [Text]
- tokenizer :: Text -> [Token]
- ppTokens :: [Token] -> String
- toTraditional :: Text -> Text
- toSimplified :: Text -> Text
Documentation
Dictionary entry data Entry = Entry { entrySimplified :: !Text , entryTraditional :: !Text , entryPinyin :: [Text] , entryDefinition :: [[Text]] } deriving ( Read, Show, Eq, Ord )
entryOriginal :: Entry -> Text Source #
entrySimplified :: Entry -> Text Source #
entryTraditional :: Entry -> Text Source #
entryPinyin :: Entry -> [Text] Source #
toTraditional :: Text -> Text Source #
toSimplified :: Text -> Text Source #