Brno University of Technology Vysokeu´ Cenˇ ´I Technicke´ V Brneˇ

Total Page:16

File Type:pdf, Size:1020Kb

Brno University of Technology Vysokeu´ Cenˇ ´I Technicke´ V Brneˇ BRNO UNIVERSITY OF TECHNOLOGY VYSOKEU´ CENˇ ´I TECHNICKE´ V BRNEˇ FACULTY OF INFORMATION TECHNOLOGY DEPARTMENT OF INFORMATION SYSTEMS FAKULTA INFORMACNˇ ´ICH TECHNOLOGI´I USTAV´ INFORMACNˇ ´ICH SYSTEM´ U˚ FORMAL SYSTEMS BASED UPON AUTOMATA AND GRAMMARS PHD THESIS DISERTACNˇ ´I PRACE´ AUTHOR MARTIN CERMˇ AK´ AUTOR PRACE´ BRNO 2012 BRNO UNIVERSITY OF TECHNOLOGY VYSOKEU´ CENˇ ´I TECHNICKE´ V BRNEˇ FACULTY OF INFORMATION TECHNOLOGY DEPARTMENT OF INFORMATION SYSTEMS FAKULTA INFORMACNˇ ´ICH TECHNOLOGI´I USTAV´ INFORMACNˇ ´ICH SYSTEM´ U˚ FORMAL SYSTEMS BASED UPON AUTOMATA AND GRAMMARS FORMALN´ ´I SYSTEMY´ AUTOMATU˚ A GRAMATIK PHD THESIS DISERTACNˇ ´I PRACE´ AUTHOR MARTIN CERMˇ AK´ AUTOR PRACE´ SUPERVISOR prof. RNDr. ALEXANDER MEDUNA, CSc. VEDOUC´I PRACE´ BRNO 2012 Abstrakt Tyto teze navazuj´ına studium gramatick´ych a automatov´ych syst´em˚u.Na zaˇc´atku,pr´ace pojedn´av´ao regul´arnˇeˇr´ızen´ych CD gramatick´ych syst´emech vyuˇz´ıvaj´ıc´ı fr´azovˇestruk- turovan´egramatiky jako komponenty. Do syst´em˚ujsou zavedena tˇrinov´aomezen´ı na derivac´ıch a je studov´anjejich vliv na vyjadˇrovac´ıs´ılutˇechto syst´em˚u.Pot´e,tato pr´acede- finuje dva automatov´eprotˇejˇskyke kanonick´ymmulti-generatin´ımnontermin´alema pravi- dlovˇesynchronizovyn´ymgramatick´ymsystem˚um,generuj´ıc´ıch vektory ˇretˇezc˚u,a ukazuje, ˇzevˇsechny tyto vyˇsetˇrovan´esystemy si jsou vz´ajemnˇeekvivalentn´ı. D´alet´atopr´acetyto syst´emy zobecˇnujea zakl´ad´afundamentaln´ı hierarchii n-jazyk˚u(mnoˇzin n-tic ˇretˇezc˚u). V souvislosti se zaveden´ymisyst´emy tyto teze zav´ad´ıautomatovˇe-gramatick´ypˇrevodn´ık zaloˇzen´yna koneˇcn´emautomatu a bezkontextov´egramatice. Tento pˇrevodn´ıkje pak stu- dovan´ya pouˇzit´yjako n´astroj pˇr´ım´ehopˇrekladu.V posledn´ıˇc´astijsou v t´etopr´acizaveden´e automatov´esyst´emy j´adremp´arsovac´ımetody zaloˇzen´ena stromovˇeˇr´ızen´ych gramatik´ach s n omezen´ymicestami. Abstract The present thesis continues with study of grammar and automata systems. First of all, it deals with regularly controlled CD grammar systems with phrase-structure grammars as components. Into these systems, three new derivation restrictions are placed and their effect on the generative power of these systems are investigated. Thereafter, this thesis defines two automata counterparts of canonical multi-generative nonterminal and rule synchro- nized grammar systems, generating vectors of strings, and it shows that these investigated systems are equivalent. Furthermore, this thesis generalizes definitions of these systems and establishes fundamental hierarchy of n-languages (sets of n-tuples of strings). In relation with these mentioned systems, automaton-grammar translating systems based upon finite automaton and context-free grammar are introduced and investigated as a mechanism for direct translating. At the end, in this thesis introduced automata systems are used as the core of parse-method based upon n-path-restricted tree-controlled grammars. Kl´ıˇcov´aslova automat, gramatika, automatov´ysyst´em,gramatick´ysyst´em,ˇr´ızen´epˇrepisov´an´ı, multi- generov´an´ı, n-jazyk Keywords automaton, grammar, automata system, grammar system, controlled rewriting, multi- generation, n-language Citace Martin Cerm´ak:Formalˇ Systems Based upon Automata and Grammars, disertaˇcn´ıpr´ace, Brno, FIT VUT v Brnˇe,2012 Citation Martin Cerm´ak:Formalˇ Systems Based upon Automata and Grammars, PhD thesis, Brno, FIT BUT, 2012 Formal Systems Based upon Automata and Grammars Declaration Hereby I declare that this thesis is my authorial work that have been created under supervi- sion of prof. RNDr. Alexander Meduna, CSc. Some parts of this thesis are based on papers created in collaboration with colleagues RNDr. Tom´aˇsMasopust, Ph.D., Ing. Jiˇr´ıKoutn´y, or Ing. Petr Hor´aˇcek.Specifically, the first two theorems in Chapter 4 are largely the work of prof. RNDr. Alexander Meduna, CSc. and RNDr. Tom´aˇsMasopust, Ph.D. Chapter 8 and some parts of Chapter 6 are based on papers, which have been written in cooperation with Ing. Jiˇr´ıKoutn´y.Chapter 7 is based on paper, where the part consulting applications of investigated transducer has been written in cooperation with Ing. Petr Hor´aˇcek. All other results are an outcome of my own research. All sources, references, and literature used or excerpted during elaboration of this thesis are properly cited in complete reference to the due source. ....................... Martin Cerm´akˇ June 13, 2012 Acknowledgements I would like to thank Alexander Meduna, my supervisor, for his inspiration, willingness, and friendly pedagogic and scientific leading. Without his guidance, this work would not have been possible. I also would like to thank Erzs´ebet Csuhaj-Varj´uand Gy¨orgyVaszil for consultations, and my colleagues Jiˇr´ıKoutn´y,ZbynˇekKˇrivka, Tom´aˇsMasopust, and Petr Hor´aˇcekfor their inspiration and motivation. Last, but certainly not least, I would like to thank my wife Daniela for her infinite support. c Martin Cerm´ak,2012.ˇ Tato pr´ace vznikla jako ˇskoln´ı d´ılo na Vysok´emuˇcen´ı technick´emv Brnˇe, Fakultˇein- formaˇcn´ıch technologi´ı. Pr´ace je chr´anˇenaautorsk´ymz´akonema jej´ı uˇzit´ı bez udˇelen´ı opr´avnˇen´ıautorem je nez´akonn´e,s v´yjimkouz´akonem definovan´ychpˇr´ıpad˚u. Contents I Survey of Current State of Knowledge 3 1 Introduction 4 1.1 Motivation . .4 1.2 Organization . .6 2 Notation and Basic Definitions 8 2.1 Sets and Relations . .8 2.2 Alphabets, Strings, and Languages . 10 2.3 Grammars . 11 2.4 Automata . 13 2.5 Regulated Formal Models . 16 3 Systems of Formal Models 19 3.1 Cooperating Distributed Grammar System . 19 3.2 Parallel Communicating Grammar Systems . 21 3.3 Automata Systems . 25 II New Systems of Formal Models and Results 26 4 Restrictions on CD Grammar Systems 27 4.1 Three Restrictions on Derivations in Grammar Systems . 27 4.2 Generative Power of Restricted Grammar Systems . 29 5 n-Accepting Restricted Pushdown Automata Systems 33 5.1 n-Accepting State-Restricted Automata Systems . 33 5.2 n-Accepting Move-Restricted Automata Systems . 40 6 Classes of n-Languages: Hierarchy and Properties 45 6.1 Definitions . 45 6.2 Class Hierarchy and Closure Properties . 47 7 Rule-Restricted Automaton-Grammar Transducers 57 7.1 Rule-restricted transducer . 58 7.2 Applications in Natural Language Translation . 66 1 8 Parsing of n-Path-Restricted Tree-Controlled Languages 76 8.1 n-Path-Restricted Tree-Controlled Grammars . 77 8.2 Examples . 77 8.3 Syntax analysis of n-path-TC ......................... 79 8.3.1 Top-Down Parsing of n-path-TC ................... 80 8.3.2 Bottom-Up Parsing of n-path-TC ................... 83 9 Conclusion 85 9.1 Summary and Further Investigation . 85 2 Part I Survey of Current State of Knowledge 3 Chapter 1 Introduction 1.1 Motivation In the seventh century before Christ, Egyptians believed they are the oldest nation in the world. The former king, Psantek I., wanted to confirm this assumption. The confirmation was based on the idea that children, who cannot learn to speak from adults, will use innate human language. That language was supposed to be Egyptian. For this purpose, Psantek I. took two children from a poor family and let them to grow up in care of a shepherd in an environment, where nobody was allowed to speak with these children. Although the test ultimately failed, it brings us testimony that already in old Egypt, people somehow felt the importance of languages (the whole story you can see in The story of psychology by Morton Hunt). In 1921, Ludwig Wittgenstein published a philosophical work (Logisch-philosophische Abhandlung) containing claim that says \The limits of my language mean the limits of my world". In the computer science, this claim is doubly true. Languages are a way how people express information and ideas in terms of computer science or information technology. In essence, any task or problem, which a computer scientist is able to describe, can be described by a language. The language represents a problem and all sentences belonging into this language are its solutions. Fact about the limitation by languages led to the birth of a new research area referred to as theory of formal languages studying languages from a mathematical point of view. The main initiator was linguist Noam Chomsky, who, in the late fifties, introduced hierarchy of formal languages given by four types of language generators. By this work, Noam Chom- sky inspired many mathematicians and computer scientists so they began to extend this fundamental hierarchy by adding new models for language definition. Because the theory of formal languages examines the languages from the precise mathematical viewpoint, its results are significant for many areas in information technology. Models, which are studied by the theory, are used in compilers, mathematical linguistics, bioinformatics, especially ge- netics and simulation of natural biology processes, artificial intelligence, computer graphics, computer networks, and others. The classical formal language theory uses three approaches to define formal languages. 1. Grammatical approach, where the languages are generated by grammars. 2. Automata approach, where the languages are recognized by automata. 3. Algebraic approach, where the languages are defined by some language operations. 4 To be more precise, in the grammatical approach, a grammar generates its language by application of derivation steps replacing sequences of symbols by other sequences according to its prescribed rules. The symbols can be terminal or nonterminal, and the sequences of these symbols are called strings. In a single derivation step, the grammar, by application of its rule, replaces a part of string by some other string. Any string, which contains no nonterminal symbol and which can be generated from a start nonterminal by application of a sequence of derivation steps, belongs to the language of the grammar. The language of the grammar is represented by the set of such generated strings. While a grammar generates language, an automaton represents formal algorithm by which the automaton can recognize correctly made sequences of symbols belonging into the language the automaton defines.
Recommended publications
  • A Geometric Hierarchy Beyond Context-Free Languages*
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Elsevier - Publisher Connector Theoretical Computer Science 104 (1992) 235-261 235 Elsevier A geometric hierarchy beyond context-free languages* David J. Weir School of Cognitive and Computing Science, University of Sussex, Falmer. Brighton BNI 9QH, UK Communicated by M.A. Harrison Received October 1990 Revised March 1991 Abstract Weir, D.J., A geometric hierarchy beyond context-free languages, Theoretical Computer Science 104 (1992) 235-261. This paper defines a geometric hierarchy of language classes the first member of which is context-free languages. This hierarchy generalizes the difference between context-free languages and the class of languages generated by four weakly equivalent grammar formalisms that are of interest to computa- tional linguists. A grammatical characterization of the hierarchy is given using a variant of control grammars. Each member of the progression is shown to share many of the attractive features of context-free grammars, in particular, we show that each member is an abstract family of languages. We give a progression of automata and show that it corresponds exactly to the language hierarchy defined with control grammars. 1. Introduction Recent work in computational linguistics suggests that more generative capacity than context-free grammars (CFG) is required to describe natural languages [14, 31. This has led to increased interest in grammar formalisms that are able to provide this additional power without sacrificing the attractive features of context-free languages (CFL) such as polynomial recognition, and various closure and decidability proper- ties. Several formalisms have been independently proposed as being suitable in this regard and it has been shown that the same class of languages is generated by four of these formalisms [19,22, 18,211.
    [Show full text]
  • Parsing Based on N-Path Tree-Controlled Grammars
    Theoretical and Applied Informatics ISSN 1896–5334 Vol.23 (2011), no. 3-4 pp. 213–228 DOI: 10.2478/v10179-011-0015-7 Parsing Based on n-Path Tree-Controlled Grammars MARTIN Cˇ ERMÁK,JIR͡ KOUTNÝ,ALEXANDER MEDUNA Formal Model Research Group Department of Information Systems Faculty of Information Technology Brno University of Technology Božetechovaˇ 2, 612 66 Brno, Czech Republic icermak, ikoutny, meduna@fit.vutbr.cz Received 15 November 2011, Revised 1 December 2011, Accepted 4 December 2011 Abstract: This paper discusses recently introduced kind of linguistically motivated restriction placed on tree-controlled grammars—context-free grammars with some root-to-leaf paths in their derivation trees restricted by a control language. We deal with restrictions placed on n ¸ 1 paths controlled by a deter- ministic context–free language, and we recall several basic properties of such a rewriting system. Then, we study the possibilities of corresponding parsing methods working in polynomial time and demonstrate that some non-context-free languages can be generated by this regulated rewriting model. Furthermore, we illustrate the syntax analysis of LL grammars with controlled paths. Finally, we briefly discuss how to base parsing methods on bottom-up syntax–analysis. Keywords: regulated rewriting, derivation tree, tree-controlled grammars, path-controlled grammars, parsing, n-path tree-controlled grammars 1. Introduction The investigation of context-free grammars with restricted derivation trees repre- sents an important trend in today’s formal language theory (see [3], [6], [10], [11], [12], [13] and [15]). In essence, these grammars generate their languages just like ordinary context-free grammars do, but their derivation trees have to satisfy some simple pre- scribed conditions.
    [Show full text]
  • Grammars Controlled by Petri Nets
    CORE Metadata, citation and similar papers at core.ac.uk Provided by The International Islamic University Malaysia Repository ChapterChapter 15 0 Grammars Controlled by Petri Nets J. Dassow, G. Mavlankulov, M. Othman, S. Turaev, M.H. Selamat and R. Stiebe Additional information is available at the end of the chapter http://dx.doi.org/10.5772/50637 1. Introduction Formal language theory, introduced by Noam Chomsky in the 1950s as a tool for a description of natural languages [8–10], has also been widely involved in modeling and investigating phenomena appearing in computer science, artificial intelligence and other related fields because the symbolic representation of a modeled system in the form of strings makes its processes by information processing tools very easy: coding theory, cryptography, computation theory, computational linguistics, natural computing, and many other fields directly use sets of strings for the description and analysis of modeled systems. In formal language theory a model for a phenomenon is usually constructed by representing it as a set of words, i.e., a language over a certain alphabet, and defining a generative mechanism, i.e., a grammar which identifies exactly the words of this set. With respect to the forms of their rules, grammars and their languages are divided into four classes of Chomsky hierarchy: recursively enumerable, context-sensitive, context-free and regular. Context-free grammars are the most investigated type of Chomsky hierarchy which, in addition, have good mathematical properties and are extensively used in many applications of formal languages. However, they cannot cover all aspects which occur in modeling of phenomena.
    [Show full text]
  • Automaten Und Formale Sprachen Allrode (Harz), 27
    HEORIE- TTAG 2011 21. Theorietag Automaten und Formale Sprachen Allrode (Harz), 27. – 29. September 2011 Tagungsband Jürgen Dassow, Bianca Truthe (Hrsg.) Titel: 21. Theorietag „Automaten und Formale Sprachen“, Allrode (Harz), 27. – 29.9.2011, Tagungsband Veröffentlicht durch die Otto-von-Guericke-Universität Magdeburg Fakultät für Informatik Universitätsplatz 2 39106 Magdeburg Herausgegeben von Jürgen Dassow und Bianca Truthe, 2011 Das Copyright liegt bei den Autoren der Beiträge. Vorwort Der Theorietag ist die Jahrestagung der Fachgruppe Automaten und Formale Sprachen der Ge- sellschaft für Informatik. Er wurde vor 20 Jahren in Magdeburg ins Leben gerufen. Seit dem Jahre 1996 wird der Theorietag von einem eintägigen Workshop mit eingeladenen Vorträgen begleitet. Im Laufe des Theorietags findet auch die jährliche Fachgruppensitzung statt. Die bisherigen Theorietage wurden in Magdeburg (1991), in Kiel (1992), auf Schloß Dag- stuhl (1993), in Herrsching bei München (1994 und 2003), auf Schloß Rauischholzhausen (1995), in Cunnersdorf in der Sächsischen Schweiz (1996), in Barnstorf bei Bremen (1997), in Riveris bei Trier (1998), in Schauenburg-Elmshagen bei Kassel (1999), in Wien (2000 und 2006), in Wendgräben bei Magdeburg (2001), in der Lutherstadt Wittenberg (2002 und 2009), in Caputh bei Potsdam (2004), in Lauterbad bei Freudenstadt (2005), in Leipzig (2007), in Wettenberg-Launsbach bei Gießen (2008) und in Baunatal bei Kassel (2010) ausgerichtet. Der diesjährige Theorietag wird nach 1991 und 2001 wieder von der Arbeitsgruppe „For- male Sprachen und Automaten“ der Otto-von-Guericke-Universität Magdeburg organisiert. Er findet mit dem vorangehenden Workshop vom 27. bis 29. September 2011 in Allrode im Harz statt. Auf dem Workshop tragen • Frank Drewes aus Umeå, • Manfred Droste aus Leipzig, • Florin Manea aus Bukarest, • Sergey Verlan aus Paris und • Georg Zetzsche aus Kaiserslautern vor.
    [Show full text]
  • TH`ESE Zhe CHEN the Control System in Formal
    N◦ d'ordre : 1036 THESE` pr´esent´ee`a l'Institut National des Sciences Appliquees´ de Toulouse pour l'obtention du titre de DOCTEUR de l'Universit´ede Toulouse d´elivr´epar l'INSA Sp´ecialit´e:Syst`emesInformatiques par Zhe CHEN Lab. Toulousain de Technologie et d'Ingenierie´ des Systemes` (LATTIS) Laboratoire d'Analyse et d'Architecture des Systemes` (LAAS-CNRS) Ecole´ Doctorale Syst`emes Titre de la th`ese: The Control System in Formal Language Theory and The Model Monitoring Approach for Reliability and Safety Soutenue le 9 Juillet 2010, devant le jury : Rapporteur : Maritta Heisel Professeur `al'Universit¨atDuisburg-Essen, Germany Rapporteur : Fabrice Bouquet Professeur `al'INRIA, Universit´ede Franche-Comt´e Examinateur: Gilles Motet Professeur `al'INSA de Toulouse - Directeur de th`ese Examinateur: Karama Kanoun Directeur de Recherche au LAAS-CNRS Examinateur: Jean-Paul Blanquart Astrium, European Aeronautic Defence and Space (EADS) Acknowledgement Although I have been mostly working independently in the lab during all those years, I would not have been able to do this thesis without the support, advice and encouragement of others, teachers, friends and colleagues. Accordingly, I would like to use this opportunity to express my gratitude to a number of people who over the years have contributed in various ways to the completion of this work. In the first place I would like to record my gratitude to my thesis supervisor Prof. Gilles Motet for guiding me in my research, and at the same time, for letting me the freedom to take initiatives in the development of my lines of research.
    [Show full text]
  • PETRI NET CONTROLLED GRAMMARS Sherzod Turaev ISBN:978-84-693-1536-1/DL:T-644-2010
    UNIVERSITAT ROVIRA I VIRGILI PETRI NET CONTROLLED GRAMMARS Sherzod Turaev ISBN:978-84-693-1536-1/DL:T-644-2010 Facultat de Lletres Departament de Filologies Romàniques Petri Net Controlled Grammars PhD Dissertation Presented by Sherzod Turaev Supervised by Jürgen Dassow Tarragona, 2010 UNIVERSITAT ROVIRA I VIRGILI PETRI NET CONTROLLED GRAMMARS Sherzod Turaev ISBN:978-84-693-1536-1/DL:T-644-2010 Supervisor: Prof. Dr. Jürgen Dassow Fakultät für Informatik Institut für Wissens- und Sprachverarbeitung Otto-von-Guericke-Universität Magdeburg D-39106 Magdeburg, Germany Tutor: Dr. Gemma Bel Enguix Grup de Recerca en Lingüística Matemàtica Facultat de Lletres Universitat Rovira i Virgili Av. Catalunya, 35 43002 Tarragona, Spain UNIVERSITAT ROVIRA I VIRGILI PETRI NET CONTROLLED GRAMMARS Sherzod Turaev ISBN:978-84-693-1536-1/DL:T-644-2010 Acknowledgements It is a pleasure to thank many people who helped me to made this thesis possible. First of all I would like to express my sincere gratitude to my super- visor, Professor Jürgen Dassow. He helped me with his enthusiasm, his inspiration, and his efforts. During the course of this work, he provided with many helpful suggestions, constant encouragement, important advice, good teaching, good company, and lots of good ideas. It has been an honor to work with him. I would like to thank the head of our research group, Professor Car- los Martín-Vide, for his great effort in establishing the wonderful circum- stances of PhD School on Formal Languages and Applications, and for his help in receiving financial support throughout my PhD. This work was made thanks to the financial support of research grant 2006FI-01030 from AGAUR of Catalonia Government.
    [Show full text]
  • Controlled Pure Grammar Systems
    Journal of Universal Computer Science, vol. 18, no. 14 (2012), 2024-2040 submitted: 14/1/12, accepted: 16/4/12, appeared: 28/7/12 © J.UCS Controlled Pure Grammar Systems Alexander Meduna (Brno University of Technology, Faculty of Information Technology IT4Innovations Centre of Excellence, Brno, Czech Republic meduna@fit.vutbr.cz) Petr Zemek (Brno University of Technology, Faculty of Information Technology IT4Innovations Centre of Excellence, Brno, Czech Republic izemek@fit.vutbr.cz) Abstract: This paper discusses grammar systems that have only terminals, work in the leftmost way, and generate their languages under the regulation by control lan- guages over rule labels. It establishes three results concerning their generative power. First, without any control languages, these systems are not even able to generate all context-free languages. Second, with regular control languages, these systems, hav- ing no more than two components, characterize the family of recursively enumerable languages. Finally, with control languages that are themselves generated by regular- controlled context-free grammars, these systems over unary alphabets generate nothing but regular languages. In its introductory section, the paper gives a motivation for in- troducing these systems, and in the concluding section, it formulates several open problems. Key Words: formal languages, pure grammar systems, controlled derivations Category: F.4.2, F.4.3, F.1.1 1 Introduction Indisputably, context-free grammars are central to formal language theory as a whole (see [Rozenberg and Salomaa 1997, Dassow and P˘aun 1989, Meduna 2000, Salomaa 1973]). It thus comes as no surprise that this theory has introduced a broad variety of their modified versions, ranging from simplified and restricted versions up to fundamentally generalized systems based upon these grammars.
    [Show full text]
  • Grammars with Regulated Rewriting
    Grammars with Regulated Rewriting J¨urgen Dassow Otto-von-Guericke-Universit¨atMagdeburg PSF 4120, D – 39016 Magdeburg e-mail: [email protected] Abstract: Context-free grammars are not able to cover all linguistic phenomena. Thus we define some types of grammars where context-free rules are used and restric- tion imposed on the derivations. We illustrate the concepts by example, compare the generative power, give some closure and decidability properties and basic facts on syntactic complexity. 0. Introduction The regular and context-free grammars/languages are the most investigated types of formal languages which, in addition, have a lot of nice properties (see [9, 11, 14] and the corresponding chapters of this volume). However, these types of grammars/languages are not able to cover all aspects which occur in modelling of phenomena by means of formal languages. Here we only mention an example from natural languages. Let us consider the following sequence of a German dialect spoken in Switzerland: S1=Jan s¨aitdas mer em Hans h¨alfed. (Jan says that we helped Hans.) S2=Jan s¨aitdas mer em Hans es Huus h¨alfed aastriche. (Jan said that we helped Hans to paint the house.) S3=Jan s¨aitdas mer d’chind em Hans es Huus l¨ondh¨alfed aastriche. (Jan said that we allowed the children to help Hans to paint the house.) Further, let h be the morphisms which maps Hans and h¨alfed to the letter a, Huus, aastriche, d’chind and l¨ond to b and all other words of the sentences to the empty word.
    [Show full text]
  • Error Tolerance for the Recognition of Faulty Strings in a Regulated Grammar Using Fuzzy Sets
    Sådhanå (2018) 43:134 © Indian Academy of Sciences https://doi.org/10.1007/s12046-018-0833-ySadhana(0123456789().,-volV)FT3](0123456789().,-volV) Error tolerance for the recognition of faulty strings in a regulated grammar using fuzzy sets AJAY KUMAR*, NIDHI KALRA and SUNITA GARHWAL Computer Science and Engineering Department, Thapar Institute of Engineering & Technology, Patiala 147004, India e-mail: [email protected] MS received 25 July 2017; revised 5 January 2018; accepted 8 January 2018; published online 10 July 2018 Abstract. To overcome the limitations of context-free and context-sensitive grammars, regulated grammars have been proposed. In this paper, an algorithm is proposed for the recognition of faulty strings in regulated grammar. Furthermore, depending on the errors and certainty, it is decided whether the string belongs to the 2 language or not based on string membership value. The time complexity of the proposed algorithm is O(|GR|·|w|), where |GR| represents the number of production rules and |w| is the length of the input string, w. The reader is provided with numerical examples by applying the algorithm to regularly controlled and matrix grammar. Finally, the proposed algorithm is applied in the Hindi language for the recognition of faulty strings in regulated grammar as a real-life application. Keywords. Fuzzy regulated grammar; fuzzy sets; Chomsky normal form; regularly controlled grammar; matrix grammar. 1. Introduction inference methods [10–12] are used in the design of fuzzy systems. Context-free grammars are not able to cover all aspects of Motivated by the prior work of recognition of imperfect linguistic phenomena. The membership of a string in a strings in context-free grammar [13] and context-sensitive context-sensitive grammar is decided in exponential time.
    [Show full text]
  • Brno University of Technology Regulated Grammars
    BRNO UNIVERSITY OF TECHNOLOGY VYSOKÉ UČENÍ TECHNICKÉ V BRNĚ FACULTY OF INFORMATION TECHNOLOGY DEPARTMENT OF INFORMATION SYSTEMS FAKULTA INFORMAČNÍCH TECHNOLOGIÍ ÚSTAV INFORMAČNÍCH SYSTÉMŮ REGULATED GRAMMARS: CONCEPTS, PROPERTIES AND APPLICATIONS REGULOVANÉ GRAMATIKY: KONCEPTY, VLASTNOSTI A VYUŽITÍ MASTER’S THESIS DIPLOMOVÁ PRÁCE AUTHOR Bc. PETR BEDNÁŘ AUTOR PRÁCE SUPERVISOR Prof. RNDr. ALEXANDER MEDUNA, CSc. VEDOUCÍ PRÁCE BRNO 2016 Abstract This thesis is investigating regulated grammars. Introduces new modifications of existing regulated grammars. Introduces parsing methods of newlz introduces modifications. Dis- cusses problems of determinism in definition of grammars. It studies the expressive strength of these new modifications applied on regular-controlled grammars. Abstrakt Tato práce se zabývá regulovanými gramatikami. Zavádí nové modifikace existujících reg- ulovaných gramatik. Pro tyto modifikace zavádí metody syntaktické analýzi. Diskutuje problémy determinismu v definici gramatik. Studuje sílu nově uvedených modifikací ap- likovaných na regulárně regulované gramatiky. Keywords regulated grammars, determinism, syntax analysis, regular-controlled grammars, LL gram- mars Klíčová slova regulované gramatiky, determinismus, syntaktická analýza, regulárně regulované gramatiky, LL gramatiky Reference BEDNÁŘ, Petr. Regulated Grammars: Concepts, Properties and Applications. Brno, 2016. Master’s thesis. Brno University of Technology, Faculty of Information Technology. Supervisor Meduna Alexander. Regulated Grammars: Concepts, Properties and Applications Declaration Hereby I declare that this master’s thesis was prepared as an original author’s work under the supervision of prof. RNDr. Alexandra Meduny, CSc. All the relevant information sources, which were used during preparation of this thesis, are properly cited and included in the list of references. ....................... Petr Bednář May 25, 2016 Acknowledgements I would like to express my gratitude to my supervisor prof. RNDr.
    [Show full text]
  • Universität Tübingen 15
    Wilhelm Schickard-Institut für Informatik 15. Theorietag der GI Fachgruppe 0.1.5 Automaten und Forn1ale Sprachen Henning Fernau (Ed.) WSI-2005-16 Universität Tübingen 15. Theorietag der GI Fachgruppe 0.1.5 A uton1aten und Forn1ale Sprachen Henning Fernau (Ed.) WSI-2005-16 Henning Fernau Wilhelm-Schickard-Institut für Informatik Universität Tübingen Sand 13 D-72076 Tübingen Germany E-Mail: f ernau©informatik. uni-tuebingen. de Telefon: (07071) 29-77565 Telefax: (07071) 29-5061 © Wilhelm-Schickard-Institut für Informatik, 2005 ISSN 0946-3852 15. Theorietag der GI Fachgruppe 0.1.5 Automaten und Formale Sprachen Henning Fernau (Ed.) WSI-2005-16 Dies ist nun bereits der 15. "Jahrestag" der GI Fachgruppe 0.1.5 "Automa­ ten und Formale Sprachen," der "reihum" an verschiedenen Orten Deutschlands (und auch Österreichs) stattfindet. Am 28. und am 29. September 2005 fand die­ ses Treffen statt in Lauterbad bei Freudenstadt, organisatorisch betreut von der Formalsprachlergruppe in Tübingen. Der Theorietag gibt die Gelegenheit, Ergebnisse formalsprachlicher Forschun­ gen aus Deutschland und dem angrenzenden Ausland kennenzulernen und natür­ lich eigene Resultate vorzustellen. Wichtiger vielleicht ist noch der persönliche Kontakt, der durch solche Treffen ermöglicht wird. Manch eine Arbeit wäre ver­ mutlich gar nicht zustande gekommen ohne vorherige Treffen, Gespräche und Anregungen. Daneben soll der Theorietag Gelegenheit geben, ein bestimmtes Themenge­ biet aus dem Bereich der Formalen Sprachen (im weitesten Sinne) vertiefend zu behandeln. Dazu dienen eingeladene Vorträge an einem dem "eigentlichen" Theorietag (der sich ja über anderthalb Tage erstreckt) "vorgelagerten" Tag. In diesem Jahr ist das Thema dieser Überblicksvorträge "Lernen von Automaten und Grammatiken." Als Sprecher konnten gewonnen werden: • Colin de la Higuera von der Universität von St.
    [Show full text]
  • Multiset Controlled Grammars: a Normal Form and Closure Properties
    Indonesian Journal of Electrical Engineering and Computer Science Vol. 8, No. 1, October 2017, pp. 36 ~ 42 DOI: 10.11591/ijeecs.v8.i1.pp36-42 36 Multiset Controlled Grammars: A Normal Form and Closure Properties Salbiah Ashaari1, Sherzod Turaev*2, M. Izzuddin M. Tamrin3, Abdurahim Okhunov4, Tamara Zhukabayeva5 1,2,3Kulliyyah of Information and Communication Technology, International Islamic University Malaysia 53100 Kuala Lumpur, Malaysia 4Kulliyyah of Engineering, International Islamic University Malaysia, 53100 Kuala Lumpur, Malaysia 5Faculty of Information Technology, L.N. Gumilyov Eurasian National University, 010008 Astana, Kazakhstan *Corresponding author, e-mail: [email protected], [email protected], [email protected], [email protected], [email protected] Abstract Multisets are very powerful and yet simple control mechanisms in regulated rewriting systems. In this paper, we review back the main results on the generative power of multiset controlled grammars introduced in recent research. It was proven that multiset controlled grammars are at least as powerful as additive valence grammars and at most as powerful as matrix grammars. In this paper, we mainly investigate the closure properties of multiset controlled grammars. We show that the family of languages generated by multiset controlled grammars is closed under operations union, concatenation, kleene-star, homomorphism and mirror image. Keywords: multiset, regulated grammar, multiset controlled grammar, generative capacity, closure property Copyright © 2017 Institute of Advanced Engineering and Science. All rights reserved. 1. Introduction A regulated grammar is depicted as a grammar with an additional (control) mechanism that able to restrict the use of the productions (a.k.a. rules) during derivation process in order to avoid certain derivations as well as to obtain a subset of the language generated in usual way.
    [Show full text]