Text this: Grammatical theory: From transformational grammar to constraint-based approaches