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 a deck of cards for each of the unique words in the story. The cards in each deck are a collection of the subsequent words or punctuation that immediately follow that word some place in the story. (Example: The cards in the deck for the word 'HERE' have 11 cards 'THEY', 'IN', 'AND', and 8 'OR's). A sentence is constructed word by word randomly drawing a card from a deck, then using that new word's deck to draw the next word, and repeating these actions until the sentence ends.
Untrained sentence generation: https://scratch.mit.edu/projects/1078429038/ Original Story: https://en.wikipedia.org/wiki/Green_Eggs_and_Ham