Verb
To create a grammar for (a language); to describe the grammar of.
(more generally) To codify; to analyze and describe.
(transitive) To correct the grammar of (a body of speech or text)