nltk.ProbDistI.samples

ProbDistI.samples()[source]

Return a list of all samples that have nonzero probabilities. Use prob to find the probability of each sample.

Return type:list