I'm still looking for a classifier that will take a phrase, determine if and what the "In Soviet Russia X Y you" response would be.
Anyone?
Anyone?
Yakov Smirnoff is a structural joke. You would need to parse sentences, pattern match, transform it, and then do some kind of regression on the phrase to get its humor quotient.
The Stanford Parser for structural parsing, then some custom pattern matching and transforming code, might get you somewhere.
You can X Y <-> Y X you
and find the probability that it is an english sentence