Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.12 KB

File metadata and controls

22 lines (15 loc) · 1.12 KB

Code by raisaveuc, gurmukhp, bradleyg

Toxicity Timeline

See exactly when negative conversations happen and discover the patterns behind them.

Background

Comments are scraped from predefined websites which are then scored with Perspective API's AnalyzeComment request. This data is then shown as a graph of toxicity over time. The idea is that it may be possible to identify trends of comments. For example:

  • Are comments more likely to be more toxic once one toxic comment has been posted?
  • When is the most toxic time of the day?

Usage

Visit any article that contains comments from the below publishers. Once loaded click the app icon in the extensions panel to see the toxic graph for the story.

Note

This is example code to help experimentation with the Perspective API; it is not an official Google product.