enlp.visualisation.freq_distribution.wordcloud_plot¶
-
enlp.visualisation.freq_distribution.
wordcloud_plot
(token_list, colormap='rainbow', ax=None)[source]¶ Word cloud of tokens
- Parameters
- token_list
list
list of tokens, can be obtained from nlp_tools.to_list()
- colormap
str
colormap object, see predifened colormaps at https://matplotlib.org/examples/color/colormaps_reference.html [optional, default = ‘rainbow’]
- ax
matplotlib.axes.Axis
Axis object for figure
- token_list
- Returns
- fig
matplotlib.figure.Figure
Figure object line plot of word counts
- ax
matplotlib.axes.Axis
Axis object for figure
- fig