Phonological grammar and frequency by