Projekt
Word Frequency in Classic Novels
EinsteigerSchwierigkeitsgrad
Aktualisierte 12.2023Projekt kostenlos starten
Im Lieferumfang enthaltenPremium or Teams
Python45 Minuten9 Tasks1,500 XP7,747
Kostenloses Konto erstellen
oder
Durch Klick auf die Schaltfläche akzeptierst du unsere Nutzungsbedingungen, unsere Datenschutzrichtlinie und die Speicherung deiner Daten in den USA.Trainierst du 2 oder mehr?
Versuchen DataCamp for BusinessBeliebt bei Lernenden in Tausenden Unternehmen
Projektbeschreibung
Word Frequency in Classic Novels
requests
. Then you'll extract words from this web data using BeautifulSoup
. Finally, we'll dive into analyzing the distribution of words using the Natural Language ToolKit (nltk
).The natural language processing tools used here apply to much of the data that data scientists encounter as a vast proportion of the world's data is unstructured data and includes a great deal of text. To complete this Project, you need to know how to import web data into Python and how to work with natural language text.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
Mach mit 17 Millionen Lernende und starte Word Frequency in Classic Novels heute!
Kostenloses Konto erstellen
oder
Durch Klick auf die Schaltfläche akzeptierst du unsere Nutzungsbedingungen, unsere Datenschutzrichtlinie und die Speicherung deiner Daten in den USA.