BaşlayınÜcretsiz başlayın

Your first word cloud

We saw in the video that word clouds are very intuitive and a great and fast way to get a first impression on what a piece of text is talking about.

In this exercise, you will build your first word cloud. A string east_of_eden has been defined for you. It contains one of the first sentences of John Steinbeck's novel East of Eden. You can inspect its contents in the IPython Shell.

The matplotlib.pyplot package has been imported for you as plt.

Bu egzersiz, kursun bir parçasıdır

Sentiment Analysis in Python

Kursa Göz Atın

Uygulamalı etkileşimli egzersiz

Bu egzersizi bu örnek kodu tamamlayarak deneyin.

from ____ import ____

# Generate the word cloud from the east_of_eden string
cloud_east_of_eden = ____(background_color="white").____(east_of_eden)
Kodu Düzenle ve Çalıştır