7VISUALIZATIONS

Image

Perhaps the simplest way to discover insights in data is to represent that data graphically. Visualizations, like the one shown in Figure 7-1, allow you to immediately identify patterns within your data.

In this chapter, you’ll learn how to generate visualizations for the syntactic structure of a sentence and the named entities in a document using spaCy’s built-in visualizers: the displaCy dependency visualizer and the displaCy named entity visualizer.

We’ll start by exploring interactive demos of these visualizers, which are available on the Explosion AI website (Explosion AI is the maker of spaCy), to understand what the spaCy ...

Get Natural Language Processing with Python and spaCy 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.