Switch to the store?

Natural Language Processing with Python Cookbook

More Information
  • Explore corpus management using internal and external corpora
  • Learn WordNet usage and a couple of simple application assignments using WordNet
  • Operate on raw text
  • Learn to perform tokenization, stemming, lemmatization, and spelling corrections, stop words removals, and more
  • Understand regular expressions for pattern matching
  • Learn to use and write your own POS taggers and grammars
  • Learn to evaluate your own trained models
  • Explore Deep Learning techniques in NLP
  • Generate Text from Nietzsche's writing using LSTM
  • Utilize the BABI dataset and LSTM to model episodes

Natural Language Processing (NLP) is a field of computer science, artificial intelligence, and computational linguistics concerned with the interactions between computers and human (natural) languages; in particular, it's about programming computers to fruitfully process large natural language corpora.

This book includes unique recipes that will teach you various aspects of performing Natural Language Processing with NLTK—the leading Python platform for the task. You will come across various recipes during the course, covering (among other topics) natural language understanding, Natural Language Processing, and syntactic analysis. You will learn how to understand language, plan sentences, and work around various ambiguities. You will learn how to efficiently use NLTK and implement text classification, identify parts of speech, tag words, and more. You will also learn how to analyze sentence structures and master lexical analysis, syntactic and semantic analysis, pragmatic analysis, and the application of deep learning techniques.

By the end of this book, you will have all the knowledge you need to implement Natural Language Processing with Python.

  • Independent recipes that will teach you how to efficiently perform Natural Language Processing in Python
  • Use dictionaries to create your own named entities using this easy-to-follow guide
  • Learn how to implement NLTK for various scenarios with the help of example-rich recipes to take you beyond basic Natural Language Processing
Page Count 316
Course Length 9 hours 28 minutes
ISBN 9781787289321
Date Of Publication 24 Nov 2017
Tokenization – learning to use the inbuilt tokenizers of NLTK
Stemming – learning to use the inbuilt stemmers of NLTK
Lemmatization – learning to use the WordnetLemmatizer of NLTK
Stopwords – learning to use the stopwords corpus and seeing the difference it can make
Edit distance – writing your own algorithm to find edit distance between two strings
Processing two short stories and extracting the common vocabulary between two of them
 Creating an NLP pipeline
 Solving the text similarity problem
Identifying topics
Summarizing text
 Resolving anaphora
Disambiguating word sense
 Performing sentiment analysis
 Exploring advanced sentiment analysis
Creating a conversational assistant or chatbot


Pratap Dangeti

Pratap Dangeti is currently working as a Senior Data Scientist at Bidgely Technologies Bangalore. He has a vast experience in analytics and data science. He received his master's degree from IIT Bombay in its industrial engineering and operations research program. Pratap is an artificial intelligence enthusiast. When not working, he likes to read about next-gen technologies and innovative methodologies.

Krishna Bhavsar

Krishna Bhavsar has spent around 10 years working on natural language processing, social media analytics, and text mining in various industry domains such as hospitality, banking, healthcare, and more. He has worked on many different NLP libraries such as Stanford CoreNLP, IBM's SystemText and BigInsights, GATE, and NLTK to solve industry problems related to textual analysis. He has also worked on analyzing social media responses for popular television shows and popular retail brands and products. He has also published a paper on sentiment analysis augmentation techniques in 2010 NAACL. he recently created an NLP pipeline/toolset and open sourced it for public use. Apart from academics and technology, Krishna has a passion for motorcycles and football. In his free time, he likes to travel and explore. He has gone on pan-India road trips on his motorcycle and backpacking trips across most of the countries in South East Asia and Europe.

Naresh Kumar

Naresh Kumar has more than a decade of professional experience in designing, implementing, and running very-large-scale Internet applications in Fortune Top 500 companies. He is a full-stack architect with hands-on experience in domains such as ecommerce, web hosting, healthcare, big data and analytics, data streaming, advertising, and databases. He believes in open source and contributes to it actively. Naresh keeps himself up-to-date with emerging technologies, from Linux systems internals to frontend technologies. He studied in BITS-Pilani, Rajasthan with dual degree in computer science and economics.