A module, word_frequency, that generates a histogram of word frequencies in a given document, integrated into word_histogram, which takes in multiple input files and performs a cumulative threaded word frequency diagram. Includes related tests.