Doing Optimality Theory: Applying Theory to Data