Rewrite rule
From Wikipedia, the free encyclopedia
For the use of "rewrite rules" in web servers, see rewrite engine.
Rewrite rule (phrase-structure rule) in generative grammar is a rule of the form A → X where A is a syntactic category label, such as noun phrase or sentence, and X is a sequence of such labels and/or morphemes, expressing the fact that A can be replaced by X in generating the constituent structure of a sentence. Cf. transformational rule.