def _create_rand_fdist(numsamples, numoutcomes):
    import random
    fdist = FreqDist()
    for x in range(numoutcomes):
        y = (random.randint(1, (1 + numsamples) // 2) +
             random.randint(0, numsamples // 2))
        fdist[y] += 1
    return fdist
Create a new frequency distribution, with random samples.  The
dataset/ETHPy150Open nltk/nltk/nltk/probability.py/_create_rand_fdist