theory, a context-free grammar (CFG) is a formal grammar whose production rules can be applied to a nonterminal symbol regardless of its context. In particular...
46 KB (6,141 words) - 18:51, 17 June 2025
Generalized context-free grammar (GCFG) is a grammar formalism that expands on context-free grammars by adding potentially non-context-free composition...
6 KB (916 words) - 08:34, 10 January 2022
Context-free may refer to: Context-free grammar Deterministic context-free grammar Generalized context-free grammar Probabilistic context-free grammar...
434 bytes (78 words) - 15:42, 18 September 2022
Generalized phrase structure grammar (GPSG) is a framework for describing the syntax and semantics of natural languages. It is a type of constraint-based...
6 KB (731 words) - 18:26, 26 May 2025
Joshi characterized "grammars (and associated languages) that are only slightly more powerful than context-free grammars (context-free languages)". He called...
17 KB (2,034 words) - 00:03, 15 February 2025
important feature of all transformational grammars is that they are more powerful than context-free grammars. Chomsky formalized this idea in the Chomsky...
16 KB (1,917 words) - 10:18, 11 June 2025
Straight-line grammars (more precisely: straight-line context-free string grammars) can be generalized to Straight-line context-free tree grammars. The latter...
3 KB (393 words) - 19:13, 26 January 2025
context-sensitive language is a language that can be defined by a context-sensitive grammar (and equivalently by a noncontracting grammar). Context-sensitive...
9 KB (1,340 words) - 03:23, 7 May 2025
restricted grammars in the Chomsky hierarchy: context-sensitive grammars or context-free grammars. In a broader sense, phrase structure grammars are also...
4 KB (418 words) - 17:28, 15 February 2025
for context-free languages, also known as the Bar-Hillel lemma, is a lemma that gives a property shared by all context-free languages and generalizes the...
10 KB (1,532 words) - 14:55, 30 July 2024
can be similarly proved to be not context-free. This led to the abandonment of Generalized Phrase Structure Grammar once cross-serial dependencies were...
8 KB (989 words) - 08:30, 6 April 2025
The Standard Generalized Markup Language (SGML; ISO 8879:1986) is a standard for defining generalized markup languages for documents. ISO 8879 Annex A...
32 KB (3,848 words) - 18:14, 20 February 2025
of Generalized Phrase Structure Grammar; the ID/LP Grammar approach is also used in head-driven phrase structure grammar, lexical functional grammar, and...
20 KB (3,038 words) - 15:19, 4 October 2024
Head grammar (HG) is a grammar formalism introduced in Carl Pollard (1984) as an extension of the context-free grammar class of grammars. Head grammar is...
6 KB (1,197 words) - 14:48, 6 April 2022
City F.C. The Gold Coast Suns Gold Coast United Football Club Generalized context-free grammar or GCFC Get Coffee From Cafe See also: Guildford (city) and...
330 bytes (78 words) - 13:11, 24 August 2022
L-system (redirect from Context-sensitive L-system)
L-system's grammar. An L-system is context-free if each production rule refers only to an individual symbol and not to its neighbours. Context-free L-systems...
36 KB (4,683 words) - 19:01, 29 April 2025
Backus-Naur form Categorial grammar Chomsky hierarchy Concatenation Context-free grammar Context-sensitive grammar Context-sensitive language Decidable...
2 KB (154 words) - 16:43, 14 March 2025
Indexed grammars are a generalization of context-free grammars in that nonterminals are equipped with lists of flags, or index symbols. The language produced...
22 KB (2,718 words) - 06:48, 30 January 2023
Top-down parsing language (section Generalized TDPL)
interesting non-context-free languages such as the classic example {anbncn}. A GTDPL grammar can be reduced to an equivalent TDPL grammar that recognizes...
7 KB (922 words) - 22:56, 20 February 2024
Pushdown automaton (section Context-free languages)
equivalent to conjunctive grammars in the same way as nondeterministic PDA are equivalent to context-free grammars. Context-free grammar Counter automaton Finite-state...
26 KB (4,087 words) - 14:23, 25 May 2025
GLR parser (redirect from Generalized LR parser)
(generalized left-to-right rightmost derivation parser) is an extension of an LR parser algorithm to handle non-deterministic and ambiguous grammars....
7 KB (853 words) - 19:21, 9 June 2025
A simple precedence grammar is a context-free formal grammar that can be parsed with a simple precedence parser. The concept was first created in 1964...
3 KB (301 words) - 21:55, 29 May 2025
denoted L(R). A generalized regular expression can be one of the following (where a is a symbol of the alphabet A, and R and S are generalized regular expressions):...
12 KB (1,363 words) - 12:38, 9 May 2025
Ogden's lemma (section Non-context-freeness)
Ogden's lemma—If a language L {\displaystyle L} is generated by a context-free grammar, then there exists some p ≥ 1 {\displaystyle p\geq 1} such that ∀...
9 KB (1,819 words) - 23:51, 5 June 2025
Conjunctive grammars are a class of formal grammars studied in formal language theory. They extend the basic type of grammars, the context-free grammars, with...
9 KB (1,396 words) - 11:32, 13 April 2025
Parsing (redirect from Grammar parser)
not context-free, some kind of context-free approximation to the grammar is used to perform a first pass. Algorithms which use context-free grammars often...
37 KB (4,880 words) - 03:36, 30 May 2025
Merge (linguistics) (redirect from Generalized Transformation)
structure grammar (PSG) from the lexicon simplifies PS rules to being a context-free rule (B → D) as opposed to being context sensitive (ABC → ADC). Context-sensitive...
30 KB (4,114 words) - 16:00, 24 May 2025
Polarity item (redirect from Licensing context)
longer/any more See also English grammar § Negation, and Affirmation and negation § Multiple negation. The actual set of contexts that license particular polarity...
9 KB (1,043 words) - 15:18, 19 March 2025
LR parser (redirect from LR grammar)
LR(1) parsers, and generalized LR parsers (GLR parsers). LR parsers can be generated by a parser generator from a formal grammar defining the syntax...
62 KB (8,130 words) - 20:10, 28 April 2025
ISBN 0-201-02988-X. Here: p.217 (left, right-regular grammars as subclasses of context-free grammars), p.79 (context-free grammars) Hopcroft and Ullman 1979 (p.229, exercise...
8 KB (988 words) - 21:36, 23 September 2024