concraft-pl-0.3.1: Morphological tagger for Polish

Safe HaskellNone

NLP.Concraft.Polish.Server

Contents

Synopsis

Server

runConcraftServer :: MacaPool -> Concraft -> PortID -> IO ()Source

Run a Concraft server on a given port.

Client

tag :: HostName -> PortID -> Text -> IO [Sent Tag]Source

Perform morphological tagging on the input text.

tag' :: HostName -> PortID -> Text -> IO [[Sent Tag]]Source

An alernative tagging function which interprets empty lines as paragraph ending markers. The function uses lazy IO so it can be used to analyse large chunks of data.