Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.25 KB

README.md

File metadata and controls

22 lines (15 loc) · 1.25 KB

Code by raisaveuc, gurmukhp, bradleyg

Comment Blur Filter

Easily find and hide comments based on your tolerance for toxicity.

Background

Comments are scraped from the comment-enabled article in view and then scored using 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 in the toxicity of comments.

Usage

Visit any article that contains comments from the below publishers. Once loaded, click the app icon in the extensions panel to see comments filtered by the default threshold. By sliding the control, the comments in the story will be hidden or shown dependent on the desired toxicity score.

Note

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