Part 1Extract: Acquiring Text

The first part of our text processing journey is concerned with getting text into our program. This text might reside in files, might be entered by the user, or might come from other processes; wherever it comes from, we’ll learn how to read it.

We’ll also look at taking structure from the text that we read, learning how to parse CSV files and even scrape information from web pages.

Get Text Processing with Ruby now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.