Humorous Wordplay Recognition

to predict Nth word based on N-1 previous words. N-grams can be used to store word sequences for a joke generator or a recognizer. N-grams are built from a large text corpus. As a text is processed, the probability of the next word N is calculated, taking into account end of … ................
................