Text Processing in Python describes techniques for manipulation of text using the Python programming language. At the broadest level, text processing is simply taking textual information and doing something with it. This might be restructuring or reformatting it, extracting smaller bits of information from it, or performing calculations that depend on the text. Text processing is arguably what most programmers spend most of their time doing. Because Python is clear, expressive, and object-oriented it is a perfect language for doing text processing, even better than Perl. As the amount of data everywhere continues to increase, this is more and more of a challenge for programmers. This book is not a tutorial on Python. It has two other goals: helping the programmer get the job done pragmatically and efficiently; and giving the reader an understanding - both theoretically and conceptually - of why what works works and what doesn't work doesn't work. Mertz provides practical pointers and tips that emphasize efficent, flexible, and maintainable approaches to the textprocessing tasks that working programmers face daily.
From the Back Cover:
Text Processing in Python is an example-driven, hands-on tutorial that carefully teaches programmers how to accomplish numerous text processing tasks using the Python language. Filled with concrete examples, this book provides efficient and effective solutions to specific text processing problems and practical strategies for dealing with all types of text processing challenges.
Text Processing in Python begins with an introduction to text processing and contains a quick Python tutorial to get you up to speed. It then delves into essential text processing subject areas, including string operations, regular expressions, parsers and state machines, and Internet tools and techniques. Appendixes cover such important topics as data compression and Unicode. A comprehensive index and plentiful cross-referencing offer easy access to available information. In addition, exercises throughout the book provide readers with further opportunity to hone their skills either on their own or in the classroom. A companion Web site (http://gnosis.cx/TPiP) contains source code and examples from the book.
Here is some of what you will find in thie book:
* When do I use formal parsers to process structured and semi-structured data? Page 257
* How do I work with full text indexing? Page 199
* What patterns in text can be expressed using regular expressions? Page 204
* How do I find a URL or an email address in text? Page 228
* How do I process a report with a concrete state machine? Page 274
* How do I parse, create, and manipulate internet formats? Page 345
* How do I handle lossless and lossy compression? Page 454
* How do I find codepoints in Unicode? Page 465
《“清”眼看世界:研究生海外社会实践成果集》内容简介:本书梳理了清华大学研究生海外社会实践近五年来的优秀实践成果,精选了来
“Inthisupdatedandexpandededitionofherexcellenttelecommunicationsprim...
《互联网金融原理与实务》内容简介:本书在人类三次重大的科技变革中,信息技术对社会与经济的发展影响极为深刻。互联网的出现推动
《Spark Streaming实时流式大数据处理实战》内容简介:本书以透彻的原理分析和充实的实例代码详解,全面阐述了Spark Streaming流式
《医者的人文情怀:临床小故事》内容简介:本书以住院医师自己亲身讲述在临床轮转过程中所接触的真实故事为基础,结合住院医师自己
《寻找鱼王(经典名作口碑版本)》内容简介:本书是作家张炜具有代表性的一部儿童文学作品,于2015年出版。这部小说贯穿始终的是正
本书将带领读者从头开始制作一门语言的编译器。笔者特意为本书设计了CЬ语言,CЬ可以说是C语言的子集,实现了包括指针运算等在内
《Go语言从入门到进阶实战(视频教学版)》内容简介:本书采用“理论+实例”的形式编写,通过大量的实例,结合作者多年的一线开发实
《中国人力资源法律审计报告2018——从东盟十国看“一带一路”国家的劳动与雇佣管制》内容简介:本报告是“中国人力资源审计系列报
运动人体行为语义计算技术 内容简介 《运动人体行为语义计算技术》主要介绍了运动人体行为的语义计算方法,包括:基于Beowulf机群中改进的粒子滤波的3D人体运动...
《求索真文明》内容简介:全书共收录朱维铮先生的18篇文章,每篇围绕一位晚清时期的学者,论述其主要思想和重要著作。朱先生对每位
《土摩托看世界》内容简介:《土摩托看世界》主要内容包括格瓦拉的阿根廷、谁的非洲、天堂的衰落——莫尔斯比港、热带雨林拯救站、
解析iOS设计模式的开山之作优化Objective-C编程实践的必修宝典由此迈入移动开发高手行列本书讲述如何在代码中应用创建型模式、结
《三个存钱罐:金融学教授的儿童财商启蒙课》内容简介:本书从家长的角度,通过一个个故事和亲身体验系统地探讨了如何提高孩子财商
這是一趟有錢也買不到的日本設計之旅!本書直擊博報堂、SAMURAI等目前日本超夯的廣告設計公司,深入設計師們的工作現場,訪問當今
《数码摄影后期高手之路》内容简介:本书是国内知名的图形图像专家——李涛多年在摄影后期教学实践的总结。他通过拍摄及后期操作前
Visual C++ OpenGL应用程序开发-(附光盘) 本书特色 《Visual C++ OpenGL应用程序开发》共11章,介绍了程序基础、形体建模、渲染...
《我们都是科学家:那些妙趣横生而寓意深远的科学实验(修订版)》内容简介:本书让你通过身边的有趣实验完成前沿科技的奇妙体验。
《Julia设计模式》内容简介:设计模式是开发可重用和可维护代码的基本技术。它提供了一套经过验证的解决方案,使开发人员可以快速解
《使用GitOps实现Kubernetes的持续部署:模式、流程及工具》内容简介:本书提供了通过GitOps使用Kubernetes的实用教程,内容涵盖Gi