texthero.visualization.top_words¶
-
top_words
(s: pandas.core.series.Series, normalize=False) → pandas.core.series.Series¶ Return a pandas series with index the top words and as value the count.
Tokenization: split by space and remove all punctuations that are not between characters.
- Parameters
- normalize :
When set to true, return normalized values.