nerf-0.5.3: Nerf, the named entity recognition tool based on linear-chain CRFs

Safe HaskellSafe-Inferred
LanguageHaskell98

NLP.Nerf.Dict.PNET

Description

Polish Named Entity Triggers http://zil.ipipan.waw.pl/PNET dictionary.

Synopsis

Documentation

parsePNET :: Text -> [Entry] Source

Parse dictionary into a list of entries.

readPNET :: FilePath -> IO [Entry] Source

Read dictionary from the file.

data Typ Source

Trigger type.

Constructors

Internal 
External 

Instances

hasTyp :: Typ -> Entry -> Bool Source

Does entry represents a trigger of the given type?

data Entry Source

PNET entry.

Constructors

Entry 

Fields

orth :: Text
 
base :: Text
 
tag :: Text
 
typ :: Typ
 
neTyp :: Text
 
example :: Text