跳至内容
Python

Projects

Word Frequency in Moby Dick

中间的技能水平
更新 2024年4月
Use web scraping and NLP to find the most frequent words in classic literature: Herman Melville's novel, Moby Dick.
启动项目

包含优质的 or 团队

PythonProgramming1小时1 Tasks1,500 XP2,770

创建您的免费帐户

或者

继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。

深受数千家公司学员的喜爱

Group

培训2人或以上?

试试DataCamp for Business

项目描述

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.
启动项目
  • 1

    Find the most common words in a classic novel.

加入 19百万名学习者 立即开始Word Frequency in Moby Dick !

创建您的免费帐户

或者

继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。