Researchers develop an automated sarcasm detector