concraft-pl-2.1.1: Morphological tagger for Polish

Safe HaskellNone
LanguageHaskell2010

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).