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

Safe HaskellNone

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 -> BoolSource

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