nltk.FreqDist.tabulate¶
-
FreqDist.
tabulate
(*args, **kwargs)[source]¶ Tabulate the given samples from the frequency distribution (cumulative), displaying the most frequent sample first. If an integer parameter is supplied, stop after this many samples have been plotted.
Parameters: - samples (list) – The samples to plot (default is all samples)
- cumulative – A flag to specify whether the freqs are cumulative (default = False)