Generalized LR Parsing

Generalized LR Parsing PDF Author: Masaru Tomita
Publisher: Springer Science & Business Media
ISBN: 1461540348
Category : Computers
Languages : en
Pages : 172

Get Book Here

Book Description
The Generalized LR parsing algorithm (some call it "Tomita's algorithm") was originally developed in 1985 as a part of my Ph.D thesis at Carnegie Mellon University. When I was a graduate student at CMU, I tried to build a couple of natural language systems based on existing parsing methods. Their parsing speed, however, always bothered me. I sometimes wondered whether it was ever possible to build a natural language parser that could parse reasonably long sentences in a reasonable time without help from large mainframe machines. At the same time, I was always amazed by the speed of programming language compilers, because they can parse very long sentences (i.e., programs) very quickly even on workstations. There are two reasons. First, programming languages are considerably simpler than natural languages. And secondly, they have very efficient parsing methods, most notably LR. The LR parsing algorithm first precompiles a grammar into an LR parsing table, and at the actual parsing time, it performs shift-reduce parsing guided deterministically by the parsing table. So, the key to the LR efficiency is the grammar precompilation; something that had never been tried for natural languages in 1985. Of course, there was a good reason why LR had never been applied for natural languages; it was simply impossible. If your context-free grammar is sufficiently more complex than programming languages, its LR parsing table will have multiple actions, and deterministic parsing will be no longer possible.

Generalized LR Parsing

Generalized LR Parsing PDF Author: Masaru Tomita
Publisher: Springer Science & Business Media
ISBN: 1461540348
Category : Computers
Languages : en
Pages : 172

Get Book Here

Book Description
The Generalized LR parsing algorithm (some call it "Tomita's algorithm") was originally developed in 1985 as a part of my Ph.D thesis at Carnegie Mellon University. When I was a graduate student at CMU, I tried to build a couple of natural language systems based on existing parsing methods. Their parsing speed, however, always bothered me. I sometimes wondered whether it was ever possible to build a natural language parser that could parse reasonably long sentences in a reasonable time without help from large mainframe machines. At the same time, I was always amazed by the speed of programming language compilers, because they can parse very long sentences (i.e., programs) very quickly even on workstations. There are two reasons. First, programming languages are considerably simpler than natural languages. And secondly, they have very efficient parsing methods, most notably LR. The LR parsing algorithm first precompiles a grammar into an LR parsing table, and at the actual parsing time, it performs shift-reduce parsing guided deterministically by the parsing table. So, the key to the LR efficiency is the grammar precompilation; something that had never been tried for natural languages in 1985. Of course, there was a good reason why LR had never been applied for natural languages; it was simply impossible. If your context-free grammar is sufficiently more complex than programming languages, its LR parsing table will have multiple actions, and deterministic parsing will be no longer possible.

Generalized LR Parsing

Generalized LR Parsing PDF Author: Masaru Tomita
Publisher: Springer Science & Business Media
ISBN: 9780792392019
Category : Computers
Languages : en
Pages : 194

Get Book Here

Book Description
The Generalized LR parsing algorithm (some call it "Tomita's algorithm") was originally developed in 1985 as a part of my Ph.D thesis at Carnegie Mellon University. When I was a graduate student at CMU, I tried to build a couple of natural language systems based on existing parsing methods. Their parsing speed, however, always bothered me. I sometimes wondered whether it was ever possible to build a natural language parser that could parse reasonably long sentences in a reasonable time without help from large mainframe machines. At the same time, I was always amazed by the speed of programming language compilers, because they can parse very long sentences (i.e., programs) very quickly even on workstations. There are two reasons. First, programming languages are considerably simpler than natural languages. And secondly, they have very efficient parsing methods, most notably LR. The LR parsing algorithm first precompiles a grammar into an LR parsing table, and at the actual parsing time, it performs shift-reduce parsing guided deterministically by the parsing table. So, the key to the LR efficiency is the grammar precompilation; something that had never been tried for natural languages in 1985. Of course, there was a good reason why LR had never been applied for natural languages; it was simply impossible. If your context-free grammar is sufficiently more complex than programming languages, its LR parsing table will have multiple actions, and deterministic parsing will be no longer possible.

Parsing Techniques

Parsing Techniques PDF Author: Dick Grune
Publisher: Springer Science & Business Media
ISBN: 0387689540
Category : Computers
Languages : en
Pages : 677

Get Book Here

Book Description
This second edition of Grune and Jacobs’ brilliant work presents new developments and discoveries that have been made in the field. Parsing, also referred to as syntax analysis, has been and continues to be an essential part of computer science and linguistics. Parsing techniques have grown considerably in importance, both in computer science, ie. advanced compilers often use general CF parsers, and computational linguistics where such parsers are the only option. They are used in a variety of software products including Web browsers, interpreters in computer devices, and data compression programs; and they are used extensively in linguistics.

Introduction to Compilers and Language Design

Introduction to Compilers and Language Design PDF Author: Douglas Thain
Publisher: Lulu.com
ISBN: 0359138047
Category : Computers
Languages : en
Pages : 248

Get Book Here

Book Description
A compiler translates a program written in a high level language into a program written in a lower level language. For students of computer science, building a compiler from scratch is a rite of passage: a challenging and fun project that offers insight into many different aspects of computer science, some deeply theoretical, and others highly practical. This book offers a one semester introduction into compiler construction, enabling the reader to build a simple compiler that accepts a C-like language and translates it into working X86 or ARM assembly language. It is most suitable for undergraduate students who have some experience programming in C, and have taken courses in data structures and computer architecture.

Developments in Language Theory

Developments in Language Theory PDF Author: Clelia De Felice
Publisher: Springer Science & Business Media
ISBN: 3540265465
Category : Computers
Languages : en
Pages : 419

Get Book Here

Book Description
This book constitutes the refereed proceedings of the 9th International Conference on Developments in Language Theory, DLT 2005, held in Palermo, Italy in July 2005. The 29 revised full papers presented together with 5 invited papers were carefully reviewed and selected from 73 submissions. All important issues in language theory are addressed including grammars, acceptors, and transducers for strings frees, graphs, and arrays; efficient text algorithms; algebraic theories for automata and languages; variable-length codes; symbolic dynamics; decision problems; relations to complexity theory and logic; picture description and analysis; cryptography; concurrency; DNA computing; and quantum computing.

Parsing Schemata

Parsing Schemata PDF Author: Klaas Sikkel
Publisher: Springer
ISBN: 9783642644511
Category : Computers
Languages : en
Pages : 366

Get Book Here

Book Description
Parsing, the syntactic analysis of language, has been studied extensively in computer science and computational linguistics. Computer programs and natural languages share an underlying theory of formal languages and require efficient parsing algorithms. This introduction reviews the theory of parsing from a novel perspective. It provides a formalism to capture the essential traits of a parser that abstracts from the fine detail and allows a uniform description and comparison of a variety of parsers, including Earley, Tomita, LR, Left-Corner, and Head-Corner parsers. The emphasis is on context-free phrase structure grammar and how these parsers can be extended to unification formalisms. The book combines mathematical rigor with high readability and is suitable as a graduate course text.

Recent Advances in Natural Language Processing

Recent Advances in Natural Language Processing PDF Author: Nicolas Nicolov
Publisher: John Benjamins Publishing
ISBN: 9027283974
Category : Language Arts & Disciplines
Languages : en
Pages : 436

Get Book Here

Book Description
This volume brings together revised versions of a selection of papers presented at the Second International Conference on “Recent Advances in Natural Language Processing” (RANLP’97) held in Tzigov Chark, Bulgaria, September 1997. The aim of the conference was to give researchers the opportunity to present new results in Natural Language Processing (NLP) based both on traditional and modern theories and approaches. The conference received substantial interest — 167 submissions from more than 20 countries. The best papers from the proceedings were selected for this volume, in the hope that they reflect the most significant and promising trends (and successful results) in NLP. The contributions have been grouped according to the following topics: tagging, lexical issues and parsing, word sense disambiguation and anaphora resolution, semantics, generation, machine translation, and categorisation and applications. The volume contains an extensive index.

Recent Advances in Natural Language Processing II

Recent Advances in Natural Language Processing II PDF Author: Nicolas Nicolov
Publisher: John Benjamins Publishing
ISBN: 902723695X
Category : Language Arts & Disciplines
Languages : en
Pages : 435

Get Book Here

Book Description
This volume brings together revised versions of a selection of papers presented at the Second International Conference on “Recent Advances in Natural Language Processing” (RANLP'97) held in Tzigov Chark, Bulgaria, September 1997. The aim of the conference was to give researchers the opportunity to present new results in Natural Language Processing (NLP) based both on traditional and modern theories and approaches. The conference received substantial interest — 167 submissions from more than 20 countries. The best papers from the proceedings were selected for this volume, in the hope that they reflect the most significant and promising trends (and successful results) in NLP. The contributions have been grouped according to the following topics: tagging, lexical issues and parsing, word sense disambiguation and anaphora resolution, semantics, generation, machine translation, and categorisation and applications. The volume contains an extensive index.

Advanced Visual Interfaces - Proceedings Of The International Workshop Avi '92

Advanced Visual Interfaces - Proceedings Of The International Workshop Avi '92 PDF Author: Levialdi Stefano
Publisher: World Scientific
ISBN: 9814554251
Category :
Languages : en
Pages : 436

Get Book Here

Book Description
This volume brings together papers by experts in different areas of computer science, who have a common interest in the design and management of visual interfaces. Since cognitive science and metaphor analysis prove useful for understanding the basic mechanisms which allow visual interfaces to be easy to learn and use, these topics are also featured. Other areas focused on are: visual languages, visual database systems, intelligent agents for system interaction, graphical and pictorial communication tools, multimedia environments and specific technological developments.

Parsing Schemata

Parsing Schemata PDF Author: Klaas Sikkel
Publisher: Springer Science & Business Media
ISBN: 3642605419
Category : Computers
Languages : en
Pages : 374

Get Book Here

Book Description
Parsing, the syntactic analysis of language, has been studied extensively in computer science and computational linguistics. Computer programs and natural languages share an underlying theory of formal languages and require efficient parsing algorithms. This introduction reviews the theory of parsing from a novel perspective. It provides a formalism to capture the essential traits of a parser that abstracts from the fine detail and allows a uniform description and comparison of a variety of parsers, including Earley, Tomita, LR, Left-Corner, and Head-Corner parsers. The emphasis is on context-free phrase structure grammar and how these parsers can be extended to unification formalisms. The book combines mathematical rigor with high readability and is suitable as a graduate course text.