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_listlist

list of tokens, can be obtained from nlp_tools.to_list()

colormapstr

colormap object, see predifened colormaps at https://matplotlib.org/examples/color/colormaps_reference.html [optional, default = ‘rainbow’]

axmatplotlib.axes.Axis

Axis object for figure

Returns
figmatplotlib.figure.Figure

Figure object line plot of word counts

axmatplotlib.axes.Axis

Axis object for figure