
Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows with Prime
Try Prime
and start saving today with fast, free delivery
Amazon Prime includes:
Fast, FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with Fast, FREE Delivery" below the Add to Cart button.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited Free Two-Day Delivery
- Streaming of thousands of movies and TV shows with limited ads on Prime Video.
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
- Unlimited photo storage with anywhere access
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.
Buy new:
-12% $39.79$39.79
Ships from: Amazon.com Sold by: Amazon.com
Save with Used - Good
$35.39$35.39
Ships from: glenthebookseller Sold by: glenthebookseller

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Python 3 Text Processing With NLTK 3 Cookbook 2nd ed. Edition
Purchase options and add-ons
Over 80 practical recipes on natural language processing techniques using Python's NLTK 3.0
About This Book
- Break text down into its component parts for spelling correction, feature extraction, and phrase transformation
- Learn how to do custom sentiment analysis and named entity recognition
- Work through the natural language processing concepts with simple and easy-to-follow programming recipes
In Detail
This book will show you the essential techniques of text and language processing. Starting with tokenization, stemming, and the WordNet dictionary, you'll progress to part-of-speech tagging, phrase chunking, and named entity recognition. You'll learn how various text corpora are organized, as well as how to create your own custom corpus. Then, you'll move onto text classification with a focus on sentiment analysis. And because NLP can be computationally expensive on large bodies of text, you'll try a few methods for distributed text processing. Finally, you'll be introduced to a number of other small but complementary Python libraries for text analysis, cleaning, and parsing.
This cookbook provides simple, straightforward examples so you can quickly learn text processing with Python and NLTK.
What You Will Learn
- Tokenize text into sentences, and sentences into words
- Look up words in the WordNet dictionary
- Apply spelling correction and word replacement
- Access the built-in text corpora and create your own custom corpus
- Tag words with parts of speech
- Chunk phrases and recognize named entities
- Grammatically transform phrases and chunks
- Classify text and perform sentiment analysis
- ISBN-101782167854
- ISBN-13978-1782167853
- Edition2nd ed.
- PublisherPackt Pub Ltd
- Publication dateAugust 31, 2014
- LanguageEnglish
- Dimensions7.5 x 0.75 x 9 inches
- Print length288 pages
Frequently purchased items with fast delivery
From the brand

Editorial Reviews
About the Author
Product details
- Publisher : Packt Pub Ltd; 2nd ed. edition (August 31, 2014)
- Language : English
- Paperback : 288 pages
- ISBN-10 : 1782167854
- ISBN-13 : 978-1782167853
- Item Weight : 1.15 pounds
- Dimensions : 7.5 x 0.75 x 9 inches
- Best Sellers Rank: #4,327,504 in Books (See Top 100 in Books)
- #1,100 in Natural Language Processing (Books)
- #1,688 in Data Processing
- #2,780 in Python Programming
- Customer Reviews:
About the author

Jacob Perkins is an open source programmer, NLP hacker, and startup entrepreneur. He is currently the CTO & co-founder of Weotta, a semantic search engine for local events, activities, restaurants and more. His major open source contributions are to NLTK, a Python toolkit for natural language processing, and Seahorse, the Gnome encryption key application.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on February 15, 2019Good book
- Reviewed in the United States on October 23, 2014In its introduction, the Python 3 Text Processing with NLTK 3 Cookbook claims to skip the preamble and ignore pedagogy, letting you jump straight into text processing. Although it does skip the preamble, I would argue that this statement is false - it definitely does not skip the pedagogy. The examples this book shows you are practical, understandable and well-explained.
The book is intended for those familiar with Python who want to use it in order to process natural language. Following this credo, there is no discussion about software design and no attempt to make especially elegant code. I tend to nitpick at code quality, and although there was nothing that upset me in the code examples here, they didn't awe me with their subtle beauty. However, the raw power of NLTK, combined with the flexibility of Python, impressed me deeply.
The author takes you on a trip through a large section of natural language processing, starting with text tokenization and using Wordnet. I really enjoyed ideas on computing the semantic "distance" between different words by traversing subset trees. It then continues on to show you how to replace and correct words, tag parts of speech intexts, chunk texts and transform text chunks, and how to classify text. The whole thing is rounded off by a discussion on distributed processing with some nice examples of how to use execnet as a simple but effective message passing interface.
Reading all these examples made me want to go out and write a search engine or a text classifier - with NLTK, daunting tasks in this field become easy.
Above and beyond the practical text processing material in this book, what I enjoyed most was its coverage of various machine learning algorithms. The book definitely is not about machine learning, but it affords you a glimpse into the world of machine learning in a way that you can understand what you're doing if you're just using what different libraries give you out of the box. I appreciated these more extended explanations, which I often miss in texts involving machine learning.
- Reviewed in the United States on December 4, 2014I'm rating this book relative to "Natural Language Processing with Python" (2009) - which you can currently get for free at http://www.nltk.org/book_1ed/. Unfortunately, the 2ed of that book won't be available until 2016.
This book pales in comparison in communication, content, and utility as it relates to both NLTK and Python (in general) - you don't even get a table of contents.
- Reviewed in the United States on February 4, 2017It's ok as an introduction, for example, when you are totally new to NLTK. However I found solutions are not the most effective nor very thorough.
- Reviewed in the United States on November 19, 2017It's a GREAT book!
- Reviewed in the United States on August 18, 2015Very poor book-
A lot of content provided without proper resources.
Many of his red URL or package are out dated and not useful at all.
Very irresponsible author- i contact author about many issues he never ever answered
- Reviewed in the United States on April 18, 2018Most Packt content sucks and they are overall a shady publisher but I can verify that I was actually able to use the high information words recipe to improve classification accuracy pretty substantially, so I definitely got concrete benefit with this one.
- Reviewed in the United States on February 8, 2017Informative
Top reviews from other countries
- rakesh patraReviewed in India on August 27, 2021
5.0 out of 5 stars Must have for any NLP researcher
It’s a very good information and with lots of hands on code. Really useful for ppl who are in there mid journey on NLP research