dictparser-0.1.0.2: Parsec parsers for the DICT format produced by dictfmt -t
NLP.DictParser.Internal
type Headword = StringSource
type Translation = StringSource
data Example Source
Constructors
Instances
data Def Source
data Dict Source
Fields
separator :: ParsecT [Char] u Identity CharSource
manyTill1 :: Stream s m t => ParsecT s u m a -> ParsecT s u m end -> ParsecT s u m [a]Source
line1 :: ParsecT [Char] u Identity [Char]Source
line :: ParsecT [Char] u Identity [Char]Source
acceptedHeaders :: [String]Source
header :: ParsecT [Char] u Identity (String, String)Source
dashLine :: ParsecT [Char] u Identity [Char]Source
equalLine :: ParsecT [Char] u Identity [Char]Source
resync :: ParsecT [Char] u Identity [Char]Source
dictFile :: GenParser Char st DictSource
defP :: GenParser Char st DefSource
withPOS :: GenParser Char st (String, [(Translation, [Example])])Source
textline :: ParsecT [Char] u Identity [Char]Source
pos :: ParsecT [Char] u Identity [Char]Source
translation :: GenParser Char st (Translation, [Example])Source
example :: GenParser Char st ExampleSource