haiku To use this script to generate simple haikus from random words use: node haiku_generator <cmudict_file> To extract haikus from a sample of text use: node haiku_generator <cmudict_file> <text_sample>