Pro Perl Parsing

Pro Perl Parsing

5.0 2
by Christopher M. Frenz
     
 

Perl, one of the world’s most diffuse programming languages, was born out of the need to resolve the creator's dissatisfaction with what were at the time standard data-parsing solutions. Indeed, since the 1.0 release in 1987, Perl has been heralded for its powerful parsing capabilities features that are further enhanced through the thousands of Perl

…  See more details below

Overview

Perl, one of the world’s most diffuse programming languages, was born out of the need to resolve the creator's dissatisfaction with what were at the time standard data-parsing solutions. Indeed, since the 1.0 release in 1987, Perl has been heralded for its powerful parsing capabilities features that are further enhanced through the thousands of Perl extensions made available through CPAN (the Comprehensive Perl Archive Network).

Pro Perl Parsing begins with several chapters devoted to key parsing principles, discussing topics pertinent to regular expressions, parsing grammars, and parsing techniques. This material sets the stage for later chapters, which introduce numerous and powerful CPAN parsing modules, and provide an ample supply of example applications.

Table of Contents

  1. Parsing and Regular Expression Basics
  2. Grammars
  3. Parsing Basics
  4. Using Parse::Yapp
  5. Performing Recursive-Descent Parsing with Parse::RecDescent
  6. Accessing Web Data with HTML::TreeBuilder
  7. Parsing XML Documents with XML::LibXML and XML::SAX
  8. Introducing Miscellaneous Parsing Modules
  9. Finding Solutions to Miscellaneous Parsing Problems
  10. Performing Text and Data Mining

Read More

Product Details

ISBN-13:
9781590595046
Publisher:
Apress
Publication date:
08/22/2005
Series:
Pro Series
Edition description:
2005
Pages:
272
Product dimensions:
7.00(w) x 9.25(h) x 0.58(d)

Meet the Author

Christopher M. Frenz is a bioinformaticist at New York Medical College and is the author of Visual Basic and Visual Basic.NET for Scientists and Engineers. Frenz is an expert in Perl and scientific programming, in addition to the .NET platform.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

Pro Perl Parsing 5 out of 5 based on 0 ratings. 2 reviews.
Guest More than 1 year ago
Christopher M. Frenz has put together a real how to manual for those who use Perl for parsing. Grabbing the data you want from a file can be tricky but Frenz has taken parsing from the top shelf and placed it where any Perl programmer can use it. The opening chapter is great for anyone who has had trouble understanding how to use the regular expressions as built into Perl. He explains Pattern Matching, Quantifiers, and how not to be Greedy with your pattern matching. However, the book goes far beyond the basics of regular expressions in Perl to various libraries which can be used for parsing HTML, XML, RSS, and any text based file. Chapter 2 of the book seems very heady as he discusses the use of Generative Grammars which is foundational for anyone wanting to truly understand parsing. From Chomsky's grammar to Type 1, 2, and 3 grammars, he details these structures and how to use them. Perl modules GraphViz::Regex, Regexp::Common, Parse::Yapp, Parse::RecDescent, HTML::TreeBuilder, XML::LibXML, XML::SAX, and XML::RSS are all discussed in this book and clear examples are given on how you can use them to parse files to get the data you want. In the end of the book is a section on Data Mining well worth the read dealing with Descriptive Modeling and Predictive Modeling. For anyone doing data mining work from Web based data or from Relational Databases this section can be very helpful.
Guest More than 1 year ago
Pro Perl Parsing is a major advance to the field of programming Perl in general, and medical-text processing in particular (among many others). Pro Perl Parsing presents a unique conceptual framework for application of regexps, and goes beyond hinting on the importance of parsing for generating medical lexicons from massive sources of patient-specific encounter data. Pro Perl Parsing sets the stage (structure) for application of programming intelligence in clinical medicine using Perl. It is an outstanding piece of scholarship! Oscar A. Linares, MD, PhD (Applied Mathematics)