Text Processing with Ruby: Extract Value from the Data That Surrounds You (Paperback)
暫譯: 使用 Ruby 進行文本處理:從周圍數據中提取價值 (平裝本)
Rob Miller
- 出版商: Pragmatic Bookshelf
- 出版日期: 2015-10-02
- 售價: $1,200
- 貴賓價: 9.5 折 $1,140
- 語言: 英文
- 頁數: 274
- 裝訂: Paperback
- ISBN: 1680500708
- ISBN-13: 9781680500707
-
相關分類:
Ruby
立即出貨(限量) (庫存=2)
買這商品的人也買了...
-
深入淺出設計模式 (Head First Design Patterns)$880$695 -
Everyday Scripting with Ruby: For Teams, Testers, and You$1,180$1,121 -
C++ Primer, 4/e (中文版)$990$891 -
大話設計模式$620$490 -
重構─改善既有程式的設計, 2/e (Refactoring: Improving The Design of Existing Code)$800$632 -
作業系統原理 (Operating System Concepts, 8/e)$850$808 -
大話資料結構$590$466 -
Arduino UNO R3 開發板(副廠相容版)附傳輸線$400$380 -
易讀程式之美學-提升程式碼可讀性的簡單法則 (The Art of Readable Code)$480$379 -
物件導向設計模式-可再利用物件導向軟體之要素 (精裝典藏版) (Design Patterns: Elements of Reusable Object-Oriented Software)$550$550 -
anidees 6 port USB Charger 桌上型智能電源充電器$1,350$1,283 -
jQuery UI in Action (Paperback)$1,485$1,411 -
Raspberry Pi 2 Model B$1,680$1,596 -
AngularJS 建置與執行 (AngularJS: Up and Running: Enhanced Productivity with Structured Web Apps)$520$411 -
R 軟體資料分析基礎與應用 (R for Everyone: Advanced Analytics and Graphics)$650$553 -
JavaScript 設計模式與開發實踐$460$359 -
完整學會 Git, GitHub, Git Server 的24堂課$360$284 -
JavaScript 錦囊妙計, 2/e (JavaScript Cookbook, 2/e)$880$695 -
Learn Game Programming with Ruby: Bring Your Ideas to Life with Gosu (Paperback)$1,010$960 -
黑帽 Python | 給駭客與滲透測試者的 Python 開發指南 (Black Hat Python: Python Programming for Hackers and Pentesters)$400$316 -
讓網路上的每個封包都無所遁形:精用 Wireshark$590$502 -
圖解物聯網|感測器的架構與運用$380$323 -
晉身世界第一流程式設計師:188 個完美化 JavaScript 的建議$620$527 -
AngularJS 快速上手-- 實務範例教學$450$383 -
$594Ruby For Kids (Paperback)
商品描述
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.
商品描述(中文翻譯)
文本無處不在。網頁、資料庫、檔案內容——對於幾乎任何編程任務,您都需要處理文本。將即使是最複雜的基於文本的任務簡化,學習如何掌握正則表達式,從網頁抓取資訊,開發可重用的工具來在管道中處理文本,等等。
世界上大多數資訊都是以文本格式存在,程序員經常需要理解隱藏在其中的數據。這可能是將其從一種格式轉換為另一種格式,或是了解整體文本的資訊,或是從中提取資訊。但是,您如何有效地做到這一點,避免繁重的手動工作呢?
《使用 Ruby 進行文本處理》採取實用的方法。您將學習如何從檔案系統和用戶輸入中將文本引入您的 Ruby 程式。您將處理以分隔符分隔的檔案,例如 CSV,並編寫與其他程式在文本處理管道中互動的工具。解碼字符編碼的奧秘,避免混亂字符和格式錯誤輸出的痛苦。
您將學習使用正則表達式來匹配、提取和替換文本中的模式。您將編寫解析器,並學習如何處理網頁,以從即使是最混亂的 HTML 中提取資訊。
不久之後,您將能夠輕鬆處理即使是最龐大和錯綜複雜的文本,快速處理數十億字節的數據,輕鬆提取重要的部分。
您需要的條件:
本書要求您對 Ruby 編程語言有基本的熟悉程度,並假設您已經在計算機上安裝了 Ruby。
