Code by raisaveuc, gurmukhp, bradleyg
Compare unpublished articles with others that have created debate – before you push them live.
The Perspective API could be used to help predict the toxicity of future articles depending on the average toxicity score of each article within a certain category. There is a sample dataset of toxicity per category stored in hot_topics/parsed-data.json
which is used by the Chrome extension.
Install the Chrome Extension and view this page. The average toxic score will be displayed as a side panel.
This is example code to help experimentation with the Perspective API; it is not an official Google product.