1 Packets of thought (NLP overview)

This chapter covers

  • What natural language processing (NLP) is
  • Why NLP is hard and only recently has become widespread
  • When word order and grammar is important and when it can be ignored
  • How a chatbot combines many of the tools of NLP
  • How to use a regular expression to build the start of a tiny chatbot

You are about to embark on an exciting adventure in natural language processing. First we show you what NLP is and all the things you can do with it. This will get your wheels turning, helping you think of ways to use NLP in your own life, both at work and at home.

Then we dig into the details of exactly how to process a small bit of English text using a programming language like Python, which will help you ...

Get Natural Language Processing in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.