nerf-0.5.4.1: Nerf, a named entity recognition tool based on linear-chain CRFs

Safe HaskellSafe
LanguageHaskell2010

NLP.Nerf.Types

Description

Basic types.

Synopsis

Documentation

type Word = Text Source #

A word.

type NE = Text Source #

A named entity.

type Ob = ([Int], Text) Source #

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

type Lb = Label NE Source #

A label is created by encoding the named entity forest using the IOB method.