def __init__(self, samples):
        if len(samples) == 0:
            raise ValueError('A Uniform probability distribution must '+
                             'have at least one sample.')
        self._sampleset = set(samples)
        self._prob = 1.0/len(self._sampleset)
        self._samples = list(self._sampleset)
Construct a new uniform probability distribution, that assigns
dataset/ETHPy150Open nltk/nltk/nltk/probability.py/UniformProbDist.__init__