Implementation of "Unsupervised joke generation from big data" (ACL 2013)