Text processing with Ruby extract value from the data that surrounds you

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 t...

Descripción completa

Detalles Bibliográficos
Otros Autores: Miller, Rob, author (author), Carter, Jacquelyn, editor (editor)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Dallas, Texas ; Raleigh, North Carolina : The Pragmatic Bookshelf 2015.
Edición:Version p1.0
Colección:Pragmatic programmers.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630234406719
Tabla de Contenidos:
  • Extract: Acquiring Text
  • Reading from Files - Processing Standard Input
  • Shell One-liners
  • Flexible Filters with ARGF
  • Delimited Data
  • Scraping HTML Encodings
  • Transform: Modifying and Manipulating Text
  • Regular Expressions Basics
  • Extraction and Substitution with Regular Expressions
  • Writing Parsers
  • Natural Language Processing
  • Load: Writing Text
  • Standard Output and Standard Error
  • Writing to Other Processes and to Files
  • Serialization and Structure: JSON, XML, CSV
  • Templating output with ERB Appendices
  • A Shell Primer
  • Useful Shell Commands