nerf-0.5.4.1: Nerf, a named entity recognition tool based on linear-chain CRFs

Safe HaskellSafe
LanguageHaskell2010

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
Eq Typ Source # 
Instance details

Defined in NLP.Nerf.Dict.PNET

Methods

(==) :: Typ -> Typ -> Bool #

(/=) :: Typ -> Typ -> Bool #

Ord Typ Source # 
Instance details

Defined in NLP.Nerf.Dict.PNET

Methods

compare :: Typ -> Typ -> Ordering #

(<) :: Typ -> Typ -> Bool #

(<=) :: Typ -> Typ -> Bool #

(>) :: Typ -> Typ -> Bool #

(>=) :: Typ -> Typ -> Bool #

max :: Typ -> Typ -> Typ #

min :: Typ -> Typ -> Typ #

Show Typ Source # 
Instance details

Defined in NLP.Nerf.Dict.PNET

Methods

showsPrec :: Int -> Typ -> ShowS #

show :: Typ -> String #

showList :: [Typ] -> ShowS #

hasTyp :: Typ -> Entry -> Bool Source #

Does entry represents a trigger of the given type?

data Entry Source #

PNET entry.

Constructors

Entry 

Fields