Conjunctive grammar

Conjunctive grammar

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 a conjunction operation. Besides explicit conjunction, conjunctive grammars allow implicit disjunction represented by multiple rules for a single nonterminal symbol, which is the only logical connective expressible in context-free grammars. Conjunction can be used, in particular, to specify intersection of languages. A further extension of conjunctive grammars known as Boolean grammars additionally allows explicit negation.

The rules of a conjunctive grammar are of the form

A \to \alpha_1 \And \ldots \And \alpha_m

where A is a nonterminal and α1, ..., αm are strings formed of symbols in Σ and N (finite sets of terminal and nonterminal symbols respectively). Informally, such a rule asserts that every string w over Σ that satisfies each of the syntactical conditions represented by α1, ..., αm therefore satisfies the condition defined by A.

Two equivalent formal definitions of the language specified by a conjunctive grammar exist. One definition is based upon representing the grammar as a system of language equations with union, intersection and concatenation and considering its least solution. The other definition generalizes Chomsky's generative definition of the context-free grammars using rewriting of terms over conjunction and concatenation.

Though the expressive means of conjunctive grammars are greater than those of context-free grammars, conjunctive grammars retain some practically useful properties of the latter. Most importantly, there are generalizations of the main context-free parsing algorithms, including the linear-time recursive descent, the cubic-time generalized LR, the cubic-time Cocke-Kasami-Younger, as well as Valiant's algorithm running as fast as matrix multiplication.

A number of theoretical properties of conjunctive grammars have been researched, including the expressive power of grammars over a one-letter alphabet and numerous undecidable decision problems. This work provided a basis for the study language equations of a more general form.

References

  • Alexander Okhotin, Conjunctive grammars. Journal of Automata, Languages and Combinatorics, 6:4 (2001), 519-535. (pdf)
  • Alexander Okhotin, An overview of conjunctive grammars. In: Gheorghe Paun, Grzegorz Rozenberg, Arto Salomaa (Eds.), Current Trends in Theoretical Computer Science: The Challenge of the New Century, Vol. 2, World Scientific, 2004, 545--566. (pdf)
  • Artur Jeż. Conjunctive grammars can generate non-regular unary languages. International Journal of Foundations of Computer Science 19(3): 597-615 (2008) Technical report version (pdf)

External links


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • conjunctive mood — noun (grammar) The subjunctive mood generally, or when used in a principal clause, or in the principal clause of a conditional sentence • • • Main Entry: ↑conjunct …   Useful english dictionary

  • conjunctive — /kənˈdʒʌŋktɪv/ (say kuhn jungktiv) adjective 1. connective. 2. conjoined; joint. 3. Grammar a. (of a pronoun) conjunct. b. of the nature of a conjunction. –noun 4. Grammar a conjunctive word; a conjunction. –conjunctively …  

  • conjunctive — adjective relating to or forming a conjunction. ↘involving the combination or co occurrence of two or more things. noun Grammar a conjunction. Derivatives conjunctively adverb …   English new terms dictionary

  • Boolean grammar — Boolean grammars are a class of formal grammars studied in formal language theory. They extend the basic type of grammars, the context free grammars, with conjunction and negation operations. Besides these explicit operations, Boolean grammars… …   Wikipedia

  • Conjunction (grammar) — But redirects here. For other uses, see BUT (disambiguation). In grammar, a conjunction (abbreviated conj or cnj) is a part of speech that connects two words, sentences, phrases or clauses together. A discourse connective is a conjunction joining …   Wikipedia

  • Sesotho grammar — Note: *All examples marked with Dagger; are included in the audio samples. If a table caption is marked then all Sesotho examples in that table are included in the audio samples. *The orthography used in this and related articles is that of South …   Wikipedia

  • Latvian grammar — The Latvian language is a moderately inflected language, with complex nominal and verbal morphology. Word order is relatively free, but the unmarked order is SVO. Latvian has pre nominal adjectives and both prepositions and postpositions. There… …   Wikipedia

  • Latin grammar — The grammar of Latin, like that of other ancient Indo European languages, is highly inflected, which allows for a large degree of flexibility when choosing word order. In Latin there are five declensions of nouns and four conjugations of verbs.… …   Wikipedia

  • Insubric grammar — This is an article about the general grammar of the Western Lombard (Insubric) language. Contents 1 General characteristics of Insubric grammar 2 Subdivision 3 Biography 4 External links …   Wikipedia

  • Contraction (grammar) — This article is about contraction in the grammar of modern languages, which involves elision. For contraction in Ancient Greek, the coalescence of two vowels into one, see crasis. For the linguistic function of pronouncing vowels together, see… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”