__init__ (freqdist[, bins, discount]) |
param freqdist: | The trigram frequency distribution upon which to base |
|
discount () |
Return the value by which counts are discounted. |
generate () |
Return a randomly selected sample from this probability distribution. |
logprob (sample) |
Return the base 2 logarithm of the probability for a given sample. |
max () |
|
prob (trigram) |
|
samples () |
|
set_discount (discount) |
Set the value by which counts are discounted to the value of discount. |
unicode_repr () |
Return a string representation of this ProbDist |