Constraint-Based Learning