wordcloud_new
Module Contents
Functions
|
Inputs URL of a website to return the name and a wordcloud in the shape of the animal created using the text. |
- wordcloud_new.wordCloud(link)
Inputs URL of a website to return the name and a wordcloud in the shape of the animal created using the text.
- Parameters
link (str) – URL of the webpage from which the animal shaped wordcloud is to be created
- Returns
jpg – a wordcloud image in the shape of the animal based on number of words in the article obtained from the URL.
txt – name of the animal associated with the jpg output.
Example
>>> wordCloud('https://www.britannica.com/place/Japan') whale 