Package edu.stanford.nlp.trees
Class CollinsRelation
- java.lang.Object
-
- edu.stanford.nlp.trees.CollinsRelation
-
public class CollinsRelation extends Object
A relation 4-tuple for the dependency representation of Collins (1999; 2003). The tuple represents categories common to a head and its modifier: Parent - The common parent between the head daughter and the daughter in which the modifier appears. Head - The category label of the head daughter. Modifier - The category label of the daughter in which the modifier appears. Direction - Orientation of the modifier with respect to the head.- Author:
- Spence Green
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCollinsRelation.Direction
-
Constructor Summary
Constructors Constructor Description CollinsRelation(String par, String head, String mod, CollinsRelation.Direction dir)
-
-
-
Constructor Detail
-
CollinsRelation
public CollinsRelation(String par, String head, String mod, CollinsRelation.Direction dir)
-
-