clevercloud.CleverWordCloud

Module Contents

Functions

CleverWordCloud(text, CleverStop, max_w)

This function generates a word cloud with customized stopwords and max words included.

clevercloud.CleverWordCloud.CleverWordCloud(text, CleverStop, max_w)[source]

This function generates a word cloud with customized stopwords and max words included.

Parameters
  • text (str) – Input an array of text / strings

  • CleverStop (set) – Input a set of strings

  • max_w (int) – Input an integer to indicate the maximum number of words included in the word cloud

Returns

Display the png image

Return type

png image

Examples

>>> CleverWordCloud(text, {"are", "my", "is"}, 200)