def words_in_text(histogram):
    """Helper function for test_stochastic_sample (below).
       Returns all unique_words in a source text,
       using the keys in the histogram.
       Param: histogrma(dict)
       Return: list
    """
    return list(histogram)