concraft-hr-0.1.0.2: Part-of-speech tagger for Croatian

Safe HaskellNone
LanguageHaskell98

NLP.Concraft.Croatian.Request

Contents

Synopsis

Request

newtype Request t Source

A request with configuration.

Constructors

Request 

Fields

rqBody :: t

The actual request.

Instances

Binary t => Binary (Request t) 

Short

data TagWork Source

A type of tagging work which is requested.

Instances

short Source

Arguments

:: Analyzer

Morphosyntactic analyzer, if analysis needs to be done.

-> Concraft

Trained concraft model, needed for tagging.

-> Request TagWork

Tagwork of sorts, be it in need of tagging with marginals or tagging with reanalysis.

-> IO (Either [Sent Word Tag] [[(Set Tag, Tag)]]) 

Process the short request with or without analysis.