One of the most comprehensive studies to date on the effectiveness of online hate-speech filters underscores a shortcoming many social-media users know firsthand: They don’t always catch hateful speech. The study highlights the difficulties of training artificial-intelligence algorithms in...