Extended Context-Free Grammars and Normal Form Algorithms

نویسندگان

  • Jürgen Albert
  • Dora Giammarresi
  • Derick Wood
چکیده

We investigate the complexity of a variety of normal-form transformations for extended context-free grammars, where by extended we mean that the set of right-hand sides for each nonterminal in such a grammar is a regular set. The study is motivated by the implementation project GraMa which will provide a C++ toolkit for the symbolic manipulation of context-free objects just as Grail does for regular objects. Our results generalize known bounds for context-free grammars but do so in nontriv-ial ways. Speciically, we introduce a new representation scheme for extended context-free grammars (the symbol-threaded expression forest), a new normal form for these grammars (dot normal form) and new regular expression algorithms.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Normal form algorithms for extended context-free grammars

We investigate the complexity of a variety of normal-form transformations for extended context-free grammars, where by extended we mean that the set of right-hand sides for each nonterminal in such a grammar is a regular set. The study is motivated by the implementation project GraMa which will provide a C++ toolkit for the symbolic manipulation of context-free objects just as Grail does for re...

متن کامل

Testing Distributional Properties of Context-Free Grammars

Recent algorithms for distributional learning of context-free grammars can learn all languages defined by grammars that have certain distributional properties: the finite kernel property (fkp) and the finite context property (fcp). In this paper we present some algorithms for approximately determining whether a given grammar has one of these properties. We then present the results of some exper...

متن کامل

Improved Normal Form for Grammars with One-Sided Contexts

Formal grammars equipped with operators for specifying the form of the context of a substring were recently studied by Barash and Okhotin (“An extension of context-free grammars with one-sided context specifications”, Inform. Comput., 2014), further extending the author’s earlier work on propositional connectives in grammars (A. Okhotin, “Conjunctive grammars”, J. Autom. Lang. Comb., 2001). The...

متن کامل

Transition Diagram Systems and Normal Form Algorithms

We investigate the complexity of a variety of normal-form transformations for transition diagram systems, which are a parsing view of extended context-free grammars. A transition diagram system is a nite collection of nite-state machines each of which is labeled with a unique nonterminal symbol. The study is motivated by the implementation project GraMa which will provide a C++ toolkit for the ...

متن کامل

An extension of context-free grammars with one-sided context specifications

The paper introduces an extension of context-free grammars equipped with a quantifier for referring to the left context, in which the substring being defined does occur. For example, a rule A→ a& B defines a string a, as long as it is preceded by any string defined by B. The conjunction operator in this example is taken from conjunctive grammars (Okhotin, 2001), which are an extension of the st...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998