Lably
Skip to content

Noncontracting grammar

  • 2 min read
  • 3 chapters

Related on Lably

Through String (computer science)

A context-sensitive grammar is a noncontracting grammar in which all rules are of the form αAβ → αγβ, where A is a nonterminal, and γ is a nonempty string of nonterminal and/or terminal symbols.

However, some authors use the term context-sensitive grammar to refer to noncontracting grammars in general.

A noncontracting grammar in which |α| < |β| for all rules is called a growing context-sensitive grammar.

History

Chomsky (1959) introduced the Chomsky hierarchy, in which context-sensitive grammars occur as "type 1" grammars; general noncontracting grammars do not occur.

Chomsky (1963) calls a noncontracting grammar a "type 1 grammar", and a context-sensitive grammar a "type 2 grammar", and by presenting a conversion from the former into the latter, proves the two weakly equivalent .

Kuroda (1964) introduced Kuroda normal form, into which all noncontracting grammars can be converted.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Language and linguistics