Kursinnehåll
Identifying the Most Frequent Words in Text
Identifying the Most Frequent Words in Text
Data Visualization
Now that we've covered the key features of the nltk
package, let's move on to visualizing our data. We'll begin by calculating word frequencies and then displaying these frequencies using a bar plot.
Uppgift
Swipe to start coding
- Calculate the frequency distribution of the tokenized words from your text.
- Find the top 30 most common words in this distribution.
Lösning
Mark tasks as Completed
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 10
AVAILABLE TO ULTIMATE ONLY