project
Word Frequency in Classic Novels
Beginner
Updated 12/2023Start Project for Free
Included withPremium or Teams
Python45 minutes9 Tasks1,500 XP7,693
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.Training 2 or more people?
Try DataCamp for BusinessLoved by learners at thousands of companies
Project Description
Word Frequency in Classic Novels
Word Frequency in Classic Novels
Use web scraping and NLP to find the most frequent words in one of two pieces of classic literature: Herman Melville's novel, Moby Dick, or Peter Pan by J. M. Barrie.
- 1
Tools for text processing
- 2
Request Moby Dick
- 3
Get the text from the HTML
- 4
Extract the words
- 5
Make the words lowercase
- 6
Load in stop words
- 7
Remove stop words in Moby Dick
- 8
We have the answer
- 9
The most common word
FAQs
Join over 16 million learners and start Word Frequency in Classic Novels today!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.