Chapter 8: Visualizing Text Data

In this chapter, we will create different types of visualizations. We will visualize the dependency parse, which will show the grammatical relations between words in a sentence. Then, we will visualize different types of verbs in a text using a bar graph. After that, we will look at visualizing named entities in a text. Next, we will create word clouds from a corpus of text, and finally, we will visualize topics created with Latent Dirichlet Allocation (LDA) model.

These are the recipes you will find in this chapter:

  • Visualizing the dependency parse
  • Visualizing parts of speech
  • Visualizing NER
  • Constructing word clouds
  • Visualizing topics

Technical requirements

We will use the following packages in this chapter: ...

Get Python Natural Language Processing Cookbook 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.