nerf-0.5.4.1: Nerf, a named entity recognition tool based on linear-chain CRFs
NLP.Nerf.Dict.PNET
Description
Polish Named Entity Triggers http://zil.ipipan.waw.pl/PNET dictionary.
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
Defined in NLP.Nerf.Dict.PNET
Methods
(==) :: Typ -> Typ -> Bool #
(/=) :: Typ -> Typ -> Bool #
compare :: Typ -> Typ -> Ordering #
(<) :: Typ -> Typ -> Bool #
(<=) :: Typ -> Typ -> Bool #
(>) :: Typ -> Typ -> Bool #
(>=) :: Typ -> Typ -> Bool #
max :: Typ -> Typ -> Typ #
min :: Typ -> Typ -> Typ #
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.
Fields