concraft-pl-0.7.4: Morphological tagger for Polish

Safe HaskellNone
LanguageHaskell98

NLP.Concraft.Polish.Maca

Description

The module provides interface for the Maca analysis tool. See http://nlp.pwr.wroc.pl/redmine/projects/libpltagger/wiki for more information about the analyser.

Synopsis

Documentation

data MacaPool Source

A pool of Maca instances.

newMacaPool Source

Arguments

:: Int

Number of Maca instances

-> IO MacaPool 

Run Maca server.

macaPar :: MacaPool -> Text -> IO [Sent Tag] Source

Analyse paragraph with Maca. The function is thread-safe. As a pre-processing step, all non-printable characters are removed from the input (based on empirical observations, Maca behaves likewise).