Researchers have have developed an AI-based system that can flag spoilers in online reviews of books and TV shows.