Constraint Satisfaction as a Theory of Sentence