nltk.FreqDist.max¶
-
FreqDist.
max
()[source]¶ Return the sample with the greatest number of outcomes in this frequency distribution. If two or more samples have the same number of outcomes, return one of them; which sample is returned is undefined. If no outcomes have occurred in this frequency distribution, return None.
Returns: The sample with the maximum number of outcomes in this frequency distribution. Return type: any or None