Class OT.AlignPrWd
All Packages Class Hierarchy This Package Previous Next Index
Class OT.AlignPrWd
java.lang.Object
|
+----OT.Constraint
|
+----OT.Align
|
+----OT.AlignPrWd
- public class AlignPrWd
- extends Align
Alignment constraint. Requires that the left/right edge of the PrWd be aligned with a particular feature type.
- Version:
- 1999-03-31
- Author:
- Andrea Heiberg, University of Arizona
-
AlignPrWd(FeatureType, Edge)
-
-
evaluate(Representation, Representation)
- Returns the number of times that candidate violates this constraint.
-
toString()
- Returns a string representation of this object.
AlignPrWd
public AlignPrWd(FeatureType featureType,
Edge edge)
evaluate
public Integer evaluate(Representation candidate,
Representation nullRep)
- Returns the number of times that candidate violates this constraint. Find the edgemost anchor of the type for featureType; if it is on path with a token of featureType, return 0; otherwise return 1.
- Overrides:
- evaluate in class Constraint
toString
public String toString()
- Returns a string representation of this object.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index