nkjp-0.1.1: Manipulating the National Corpus of Polish (NKJP)

Safe HaskellNone

Text.NKJP.Named

Description

Parsing the NKJP named entity layer.

Synopsis

Documentation

parseNamed :: Text -> [Para Text]Source

Parse textual contents of the ann_named.xml file.

readNamed :: FilePath -> IO [Para Text]Source

Parse the stand-alone ann_named.xml file.

readCorpus :: FilePath -> IO [(FilePath, [Para Text])]Source

Parse the NCP .tar.gz file.