Visualizing Text Data
This chapter is dedicated to creating visualizations for the different aspects of NLP work, much of which we have done in previous chapters. Visualizations are important when working with NLP tasks, as they help us to easier see the big picture of the work accomplished.
We will create different types of visualizations, including visualizations of grammar details, parts of speech, and topic models. After working through this chapter, you will be well equipped to create compelling images to show and explain the outputs of various NLP tasks.
These are the recipes you will find in this chapter:
- Visualizing the dependency parse
- Visualizing parts of speech
- Visualizing NER
- Creating a confusion matrix plot
- Constructing word clouds
- Visualizing topics from Gensim
- Visualizing topics from BERTopic