concraft-0.3.2: Morphosyntactic tagging tool based on constrained CRFs

Safe HaskellNone

NLP.Concraft.Schema

Synopsis

Documentation

type Schema t a = Vector (Word t) -> Int -> Ox t aSource

A schema is a block of the Ox computation performed within the context of the sentence and the absolute sentence position.

type Ox t a = Ox (Word t) Text aSource

The Ox monad specialized to word token type and text observations.

type Ob = ([Int], Text)Source

An observation consist of an index (of list type) and an actual observation value.

guessSchemaDefault :: Schema t ()Source

Default guessing schema.

disambSchemaDefault :: Schema t ()Source

Default disambiguation schema.