Generate a sentence that sounds like it belongs in the book "Green Eggs and Ham". Data from Dr Seuss' story was used to train a model by making an envelope for each of the 50 unique words in the story. Inside each word envelope are a collection of the next words or punctuation that immediately come after it some place in the story. (Example: The words in the envelope for the word 'HERE' have 11 slips 'THEY', 'IN', 'AND', and 8 'OR's). A sentence is constructed word by word randomly drawing a card from an envelope, then using that new word's envelope to draw the next word, and repeating these actions until the sentence ends.
Untrained sentence generation: https://scratch.mit.edu/projects/1278978650/ Original Story: https://en.wikipedia.org/wiki/Green_Eggs_and_Ham