Text Processing with Ruby Extract Value from the Data That Surrounds You 1st Edition by Rob Miller – Ebook PDF Instant Download/Delivery: 1680500708, 9781680500707
Full download Text Processing with Ruby Extract Value from the Data That Surrounds You 1st Edition after payment

Product details:
ISBN 10: 1680500708
ISBN 13: 9781680500707
Author: Rob Miller
Text is everywhere. Web pages, databases, the contents of files–for almost any programming task you perform, you need to process text. Cut even the most complex text-based tasks down to size and learn how to master regular expressions, scrape information from Web pages, develop reusable utilities to process text in pipelines, and more.
Most information in the world is in text format, and programmers often find themselves needing to make sense of the data hiding within. It might be to convert it from one format to another, or to find out information about the text as a whole, or to extract information fromit. But how do you do this efficiently, avoiding labor-intensive, manual work?
Text Processing with Ruby takes a practical approach. You’ll learn how to get text into your Ruby programs from the file system and from user input. You’ll process delimited files such as CSVs, and write utilities that interact with other programs in text-processing pipelines. Decipher character encoding mysteries, and avoid the pain of jumbled characters and malformed output.
You’ll learn to use regular expressions to match, extract, and replace patterns in text. You’ll write a parser and learn how to process Web pages to pull out information from even the messiest of HTML.
Before long you’ll be able to tackle even the most enormous and entangled text with ease, scything through gigabytes of data and effortlessly extracting the bits that matter.
What You Need
This book requires a passing familiarity with the Ruby programming language, and assumes that you already have Ruby installed on your computer.
Table of contents:
Part 1: Extract: Acquiring Text
-
Chapter 1: Reading from Files
-
Chapter 2: Processing Standard Input
-
Chapter 3: Shell One-Liners
-
Chapter 4: Flexible Filters with ARGF
-
Chapter 5: Delimited Data
-
Chapter 6: Scraping HTML
-
Chapter 7: Encodings
Part 2: Transform: Modifying and Manipulating Text
-
Chapter 8: Regular Expressions Basics
-
Chapter 9: Extraction and Substitution with Regular Expressions
-
Chapter 10: Writing Parsers
-
Chapter 11: Natural Language Processing
Part 3: Load: Writing Text
-
Chapter 12: Standard Output and Standard Error
-
Chapter 13: Writing to Other Processes and to Files
-
Chapter 14: Serialization and Structure: JSON, XML, CSV
-
Chapter 15: Templating Output with ERB
People also search for:
what is ruby text
ruby extract number from string
ruby red ingredients
ruby massage reviews
text processing with ruby
Tags: Rob Miller, Text Processing, Ruby, Extract Value, Data


