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
《赛雷三分钟漫画三国演义16》内容简介:专为新生代读者打造,比电影还好看的漫画三国演义!一看就会的知识点! 1000万人都在看的“
《Android Jetpack开发》内容简介:随着移动领域的飞速发展,越来越多的工程师开始追求更高效率、更便捷的开发模式。而各种框架层出
《锋利的SQL》内容简介:本书从基础、开发、性能调整和实战4方面介绍了SQL技术及其应用,包括数据库与架构、表管理、索引管理、基本
《人件集:人性化的软件开发》是人件领域中的经典著作,以专题的形式探讨了软件开发中的人的因素。本书共分九个部分:第一部分介绍
《法国语言政策研究》内容简介:本书首先解释了法国语言政策体系的核心是“合法语言的建构”,并对法语标准语的形成、立法、规范化
Programmersloveitsflexibilityandspeed;designersloveitsaccessibilityandconvenienc...
网络协议分析 本书特色 本书基于作者近10年的教学经验编写而成。书中以tcp/ip协议族中构建internet所必需的、与我们交互*直观的协议作为主题,详细讨论...
ComputerVisionisfastbecominganimportanttechnologyandisusedinMarsrobots,nationals...
《20几岁,你为什么害怕来不及》内容简介:2015年6月,林夏萨摩,在简书上写下了一篇《你才20多岁,为什么总怕来不及》,一时间引爆
本书系统地介绍了数据通信和计算机网络领域的基本内容。在第一版的基础上,修改和增加了新的内容,包括无线和卫星通信、有线电视
《思维迷宫(爱智书系)》内容简介:哲学不仅帮助人认识世界、认识自我,还能够认识我们的“认识”,看看我们是怎样思维的,我们的
高分辨率遥感影像变化检测 本书特色 这是国内以高分辨遥感影像变化检测为核心,系统阐述相关关键技术的书籍。书中在深入阐述变化检测及相关技术的各种理论的同时,将对*...
《普通高等教育"十一五"国家级规划教材•现代通信技术(第3版)》根据通信网络的分层构架,从全程全网和网络融合的角度全面系统地讲
《书法讲座》内容简介:本书以通俗易懂的讲座形式,全面讲述书法的发展历程、书法的美学、书法创作实践等。不仅重形而下之技法,更
Helveticaisasans-seriftypeface.Itissimpleandclean,andcommonlyseeninadvertising,s...
登月是一场骗局?南北半球浴室里水流的漩涡真的不同吗?只有在春分那一天才能竖起鸡蛋?真的有人看到过UFO或外星人吗?陨星会落在
如果你是一名工程师或无线通信项目经理,那么《无线通信系统仿真:C++实用模型》既是方便的参考书,又是理想的指导手册。它可以帮
Withthisbook,youcanbuildexciting,scalablewebapplicationsquicklyandconfidently,us...
《理论是非辨与析:用马克思主义引领社会思潮》内容简介:党的十八大以来,以习近平同志为核心的党中央高度重视意识形态工作,旗帜
《无师自通8:铅笔素描头像超精解析(修订版)》内容简介:素描是一切造型艺术的基础,有着独特的表现魅力,学习素描是通往艺术殿堂