|
|
|
|
context-sensitive language
|
(Definition)
|
|
|
A context-sensitive language is a language over some alphabet generated by generated by some grammar known as a context-sensitive grammar.
Formally, a context-sensitive language is a formal grammar
whose productions in have the form
where ,
, and
, the empty word. Given a context-sensitive grammar , the context-sensitive language generated by is . In other words,
where
is the set of terminals, and
means that the word over is produced after a finite number of applications of the productions in to .
Remarks.
- The term “context-sensitive” means that any production
of , the non-terminal symbol can only be transformed into the word if is surrounded by and , or that is in the “context” of
. If in each production
of ,
, (so that no longer has a “context”), then is a context-free grammar.
- It can be shown that
is a context-sensitive grammar iff every production of satisfies
, where denotes the length of the word .
- The minimal automaton required for processing a context-sensitive languages is a bounded non-deterministic Turing machine.
- In the Chomsky hierarchy, context-sensitive grammars are at Level 1.
|
Anyone with an account can edit this entry. Please help improve it!
"context-sensitive language" is owned by CWoo. [ full author list (3) | owner history (2) ]
|
|
(view preamble)
Cross-references: level, Chomsky hierarchy, non-deterministic Turing machine, bounded, automaton, minimal, length, iff, context-free grammar, term, number, finite, terminals, empty word, productions, formal grammar, generated by, alphabet, language
There are 6 references to this entry.
This is version 11 of context-sensitive language, born on 2006-12-19, modified 2007-11-09.
Object id is 8644, canonical name is ContextSensitiveLanguage.
Accessed 1399 times total.
Classification:
| AMS MSC: | 68Q45 (Computer science :: Theory of computing :: Formal languages and automata) | | | 68Q42 (Computer science :: Theory of computing :: Grammars and rewriting systems) |
|
|
|
|
|
|
Pending Errata and Addenda
|
|
|
|
|
|
|
|
|
|
|