alpino-tools-0.1.0: Alpino data manipulation tools

Stabilityexperimental
MaintainerDanil de Kok <me@danieldk.eu>

Data.Alpino.DepStruct

Contents

Description

Definitions for Alpino dependency structures.

Synopsis

Dependency structures

data AlpinoDS Source

Alpino dependency structures define syntactic relations between words. For convenience, the dependency structure is represented as a rose tree. Additionally, the dependency structure contains the sentence corresponding to the dependency structure.

Constructors

AlpinoDS 

Fields

dsRoot :: Tree DSLabel

Root of the dependency tree.

dsSentence :: String

Sentence corresponding to the dependency tree.

Instances

data Cat Source

Constructors

SMain 
NP 
PPart 
PPres 
PP 
SSub 
Inf 
Cp 
DU 
Ap 
AdvP 
TI 
Rel 
WhRel 
WhSub 
Conj 
WhQ 
Oti 
Ahi 
DetP 
SV1 
SVan 
MWU 
TopCat 

Instances

data DSLabel Source

Label containing syntactic or lexical information of a node.

Constructors

CatLabel 

Fields

labelRel :: Rel

Category

labelCat :: Cat

Dependency relation

labelIdx :: Maybe Integer

Coindexation

labelBegin :: Maybe Integer

Start position

labelEnd :: Maybe Integer

End position

LexLabel 

Fields

labelRel :: Rel

Category

labelPos :: String

Part of speech tag

labelRoot :: String

Root/stem

labelIdx :: Maybe Integer

Coindexation

labelBegin :: Maybe Integer

Start position

labelEnd :: Maybe Integer

End position

Instances

data Rel Source

Constructors

Hdf 
Hd 
Cmp 
Sup 
Su 
Obj1 
PObj1 
Obj2 
Se 
PC 
VC 
SVP 
PredC 
Ld 
Me 
PredM 
ObComp 
Mod 
Body 
Det 
App 
Whd 
Rhd 
Cnj 
Crd 
Nucl 
Sat 
Tag 
DP 
Top 
MWP 
DLink 
DashDash 

Instances