Class OT.CorrespondFeature
All Packages Class Hierarchy This Package Previous Next Index
Class OT.CorrespondFeature
java.lang.Object
|
+----OT.Constraint
|
+----OT.Correspond
|
+----OT.CorrespondFeature
- public class CorrespondFeature
- extends Correspond
Abstract correspondence constraint for features.
- Version:
- 1999-03-31
- Author:
- Andrea Heiberg, University of Arizona
-
CorrespondFeature(FeatureType)
-
-
evaluate(Representation, Representation)
- Returns the number of times that candidate violates this constraint.
CorrespondFeature
public CorrespondFeature(FeatureType featureType1)
evaluate
public Integer evaluate(Representation candidate,
Representation input)
- Returns the number of times that candidate violates this constraint. For each feature of featureType1 in candidate, if that feature does not exist in input, increment the violation count.
- Overrides:
- evaluate in class Constraint
All Packages Class Hierarchy This Package Previous Next Index