Text this: Functional constraints in grammar