concraft-0.3.1: Morphosyntactic tagging tool based on constrained CRFs

Safe HaskellNone

NLP.Concraft.Disamb.Positional

Description

The module provides functions for splitting positional tags. They can be used together with the layered disambiguation model.

Synopsis

Documentation

data Tier Source

A tier description.

Constructors

Tier 

Fields

withPos :: Bool

Does it include the part of speech?

withAtts :: Set Attr

Tier grammatical attributes.

Instances

data Part Source

An atomic part of morphosyntactic tag with optional POS.

Constructors

Part 

Fields

pos :: Maybe POS
 
atts :: Map Attr Text
 

Instances

select :: Tier -> Tag -> PartSource

Select tier attributes.

split :: [Tier] -> Tag -> [Part]Source

Split the positional tag.

tierConfDefault :: [Tier]Source

Default tiered tagging configuration.