Hoppa till huvudinnehållet
HemPython

Projekt

Word Frequency in Moby Dick

MedelnivåKunskapsnivå
Uppdaterad 2024-04
Use web scraping and NLP to find the most frequent words in classic literature: Herman Melville's novel, Moby Dick.
Starta projekt

Ingår iPremium or Teams

PythonProgramming
1 tim
1 Uppgift
1,500 XP
3,305

Skapa ditt kostnadsfria konto

Fortsätt med GoogleVisa fler alternativ

eller


Genom att fortsätta godkänner du våra användarvillkor, vår integritetspolicy och att dina uppgifter lagras i USA.

Omtyckt av lärande på tusentals företag

Group

Utbildar du ett team?

Prova för företag

Projektbeskrivning

Word Frequency in Moby Dick

In this project, you'll scrape a novel from an html file taken from the website Project Gutenberg (which contains a large corpus of books) using the Python requests package. Then you'll extract text from this web data using the BeautifulSoup library. Finally, you'll analyze the distribution of words using the Natural Language ToolKit (nltk), a very common NLP task used to gain insights on textual data and lay the groundwork for deeper analysis. The natural language processing tools used here are required for many important data science tasks as a vast proportion of the world's data is unstructured 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 Moby Dick

Use web scraping and NLP to find the most frequent words in classic literature: Herman Melville's novel, Moby Dick.
Starta projekt
  • 1

    Find the most common words in a classic novel.

Gå med 20 miljoner lärande och börja Word Frequency in Moby Dick idag!

Skapa ditt kostnadsfria konto

Fortsätt med GoogleVisa fler alternativ

eller


Genom att fortsätta godkänner du våra användarvillkor, vår integritetspolicy och att dina uppgifter lagras i USA.

Utveckla dina datafärdigheter med DataCamp for Mobile

Gör framsteg på språng med våra mobilkurser och dagliga femminuters kodningsutmaningar.