Natural Language Processing in Action: Understanding, Analyzing, and Generating Text with Python

  • 10h 14m
  • Cole Howard, Hannes Max Hapke, Hobson Lane
  • Manning Publications
  • 2019


Natural Language Processing in Action is your guide to creating machines that understand human language using the power of Python with its ecosystem of packages dedicated to NLP and AI.

About the Technology

Recent advances in deep learning empower applications to understand text and speech with extreme accuracy. The result? Chatbots that can imitate real people, meaningful resume-to-job matches, superb predictive search, and automatically generated document summaries--all at a low cost. New techniques, along with accessible tools like Keras and TensorFlow, make professional-quality NLP easier than ever before.

About the Book

Natural Language Processing in Action is your guide to building machines that can read and interpret human language. In it, you'll use readily available Python packages to capture the meaning in text and react accordingly. The book expands traditional NLP approaches to include neural networks, modern deep learning algorithms, and generative techniques as you tackle real-world problems like extracting dates and names, composing text, and answering free-form questions.

What's inside

  • Some sentences in this book were written by NLP! Can you guess which ones?
  • Working with Keras, TensorFlow, gensim, and scikit-learn
  • Rule-based and data-based NLP
  • Scalable pipelines

About the Reader

This book requires a basic understanding of deep learning and intermediate Python skills.

About the Authors

Hobson Lane, Cole Howard, and Hannes Max Hapke are experienced NLP engineers who use these techniques in production for profit and fun: contributing to social-benefit projects like smart guides for people with blindness and cognitive assistance for those with developmental challenges or suffering from information overload (don't we all?).

In this Book

  • Foreword
  • About This Book
  • About the Cover Illustration
  • Packets of Thought (NLP Overview)
  • Build Your Vocabulary (Word Tokenization)
  • Math with Words (TF-IDF Vectors)
  • Finding Meaning in Word Counts (Semantic Analysis)
  • Baby Steps with Neural Networks (Perceptrons and Backpropagation)
  • Reasoning with Word Vectors (Word2vec)
  • Getting Words in Order with Convolutional Neural Networks (CNNs)
  • Loopy (Recurrent) Neural Networks (RNNs)
  • Improving Retention with Long Short-Term Memory Networks
  • Sequence-to-Sequence Models and Attention
  • Information Extraction (Named Entity Extraction and Question Answering)
  • Getting Chatty (Dialog Engines)
  • Scaling up (Optimization, Parallelization, and Batch Processing)
  • Resources
  • Glossary
  • Chatbot Recirculating (Recurrent) Pipeline


Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)