nkjp-0.1.1: Manipulating the National Corpus of Polish (NKJP)
Data.NKJP.Named
Description
Data types for the named entities layer of the NKJP corpus.
Synopsis
data Cert Source
A certainty of an annotator.
Constructors
Instances
data Ptr t Source
A pointer.
Of #id form.
Fields
Of loc#id form.
data Deriv t Source
A derivation structure.
data Para t Source
A paragraph.
data Sent t Source
A sentence.
data NE t Source
A segment element in a file.
Left base or Right when.
mkForest :: Ord t => [Seg t] -> [NE t] -> Forest (Either (NE t) (Seg t))Source
Make NE forest from a segment list and a list of NEs, both lists corresponding to the same sentence.