A newly developed artificial intelligence algorithm can accurately detect sarcasm in comments written on social media platforms.