10 Natural Language Processing

Finding ways to mathematically analyze textual data is the main goal of the field known as natural language processing (NLP). In this chapter, we’ll go over some important ideas from the world of NLP and talk about how to use NLP tools in data science projects.

We’ll start the chapter by introducing a business scenario and thinking through how NLP can help with it. We’ll use the word2vec model, which can convert individual words to numbers in a way that enables all kinds of powerful analyses. We’ll walk through the Python code for this conversion and then explore some applications of it. Next, we’ll discuss ...

Get Dive Into Data Science 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.