nltk.SimpleGoodTuringProbDist.__init__

SimpleGoodTuringProbDist.__init__(freqdist, bins=None)[source]
Parameters:
  • freqdist (FreqDist) – The frequency counts upon which to base the estimation.
  • bins (int) – The number of possible event types. This must be larger than the number of bins in the freqdist. If None, then it’s assumed to be equal to freqdist.B() + 1