Get Free Shipping on orders over $79
Generalized LR Parsing - Masaru Tomita

Generalized LR Parsing

By: Masaru Tomita (Editor)

Hardcover | 31 August 1991

At a Glance

Hardcover


$169.75

or 4 interest-free payments of $42.44 with

 or 

Ships in 7 to 10 business days

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.

Other Editions and Formats

Paperback

Published: 2nd October 2012

More in Artificial Intelligence

Agentic AI For Dummies : For Dummies (Computer/Tech) - Pam Baker
AI for Business : A Guide to AI Adoption - Jon Whittle

RRP $49.99

$40.75

18%
OFF
Creative Machines : AI, Art & Us - Maya Ackerman

RRP $57.95

$44.75

23%
OFF
Machine Learning For Dummies : For Dummies (Computer/Tech) - Luca Massaron
Empire of AI : Inside the reckless race for total domination - Karen Hao
AI Engineering : Building Applications with Foundation Models - Chip Huyen
How We Learn : The New Science of Education and the Brain - Stanislas Dehaene
Artificial Intelligence : A Modern Approach, 4th Global Edition - Stuart Russell