nltk.SimpleGoodTuringProbDist.prob

SimpleGoodTuringProbDist.prob(sample)[source]

Return the sample’s probability.

Parameters:sample (str) – sample of the event
Return type:float