Class UnnamedConcreteDependency

  • All Implemented Interfaces:
    Dependency<Label,​Label,​Object>, Serializable

    public class UnnamedConcreteDependency
    extends UnnamedDependency
    An individual dependency between a head and a dependent. The dependency is associated with the token indices of the lexical items.

    A key difference between this class and UnnamedDependency is the equals() method. Equality of two UnnamedConcreteDependency objects is defined solely with respect to the indices. The surface forms are not considered. This permits a use case in which dependencies in two different parse trees have slightly different pre-processing, possibly due to pre-processing.

    Author:
    Spence Green
    See Also:
    Serialized Form