Title: Serious Toxic Comments
Author: Jordi Cabot
Published: <strong>18 May 2019</strong>
Last modified: 02 July 2019

---

Search plugins

![](https://ps.w.org/serious-toxic-comments/assets/banner-772x250.png?rev=2090613)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/serious-toxic-comments/assets/icon-256x256.png?rev=2090613)

# Serious Toxic Comments

 De [Jordi Cabot](https://profiles.wordpress.org/softmodeling/)

[Download](https://downloads.wordpress.org/plugin/serious-toxic-comments.zip)

 * [Details](https://lij.wordpress.org/plugins/serious-toxic-comments/#description)
 * [Reviews](https://lij.wordpress.org/plugins/serious-toxic-comments/#reviews)
 *  [Installation](https://lij.wordpress.org/plugins/serious-toxic-comments/#installation)
 * [Development](https://lij.wordpress.org/plugins/serious-toxic-comments/#developers)

 [Supòrto](https://wordpress.org/support/plugin/serious-toxic-comments/)

## Description

Toxic comments are becoming a major challenge to have meaningful online discussions.

This plugin uses a pre-trained toxic classifier from [TensorFlow](https://www.tensorflow.org/)
to classify a comment as toxic. See more technical details on the quality of the
model [here](https://medium.com/tensorflow/text-classification-using-tensorflow-js-an-example-of-detecting-offensive-language-in-browser-e2b94e3565ce).

Once a comment is flagged as toxic, the comment is blocked and the plugin alerts
the comment author and asks to modify the text before trying again.

In the default _Settings->Discussion_ page you can enable the detection of toxic
comments and define the threshold confidence level for the prediction.

## Screenshots

 * [[
 * Configuration settings for the plugin
 * [[
 * Example of a blocked comment

## Installation

Install and Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ-e

  How did you train the predictive model?

We didn’t. We are using a pre-trained model provided by tensorflow itself.

  Can I improve or personalize the prediction by manually training the toxicity 
classifier on my site?

No. The classifier is pre-trained. But you could build your own classifier based
on the [code to create and train] (https://github.com/conversationai/conversationai-
models/tree/master/experiments) this one

  What external JavaScript scripts does the plugin import?

The plugin relies on tensorflow.js to analyze the comment on the browser. Therefore,
the plugin enqueues tensorflow, the sentence encoder and the toxicity model.
 Nevertheless,
the JS code to execute the actual comment classification is only added to single
post pages with comments (and the toxicity settings) enabled.

## Reviews

![](https://secure.gravatar.com/avatar/80fcd177e9f7fb0a9c7f8025f6bf16c64eec26e63eed742fcdb89458d880027e?
s=60&d=retro&r=g)

### 󠀁[Stop the trolls](https://wordpress.org/support/topic/stop-the-trolls/)󠁿

 [seriouswp](https://profiles.wordpress.org/seriouswp/) 02 June 2020

Very simple way to block some nasty comments to get to your blog. Also, good example
of integrating ML in a WP plugin that I hope help others realize how easy would 
be to integrate other pre-trained models as part of cool ML-based WP plugins

 [ Read all 1 review ](https://wordpress.org/support/plugin/serious-toxic-comments/reviews/)

## Contributors & Developers

“Serious Toxic Comments” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Jordi Cabot ](https://profiles.wordpress.org/softmodeling/)
 *   [ seriouswp ](https://profiles.wordpress.org/seriouswp/)

[Translate “Serious Toxic Comments” into your language.](https://translate.wordpress.org/projects/wp-plugins/serious-toxic-comments)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/serious-toxic-comments/),
check out the [SVN repository](https://plugins.svn.wordpress.org/serious-toxic-comments/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/serious-toxic-comments/)
by [RSS](https://plugins.trac.wordpress.org/log/serious-toxic-comments/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.1

 * Bug fix: Avoids calling bbPress functions when bbPress is not present in the 
   site

#### 1.1

 * Added support for bbPress
 * Possibility to configure the warning message when a toxic comment is detected

#### 1.0

 * Initial release

## Mêta

 *  Version **1.1.1**
 *  Last updated **7 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.3 or higher **
 *  Tested up to **5.2.24**
 *  PHP version ** 5.6 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/serious-toxic-comments/)
 * Tags
 * [AI](https://lij.wordpress.org/plugins/tags/ai/)[comments](https://lij.wordpress.org/plugins/tags/comments/)
   [tensorflow](https://lij.wordpress.org/plugins/tags/tensorflow/)[toxic](https://lij.wordpress.org/plugins/tags/toxic/)
   [toxicity](https://lij.wordpress.org/plugins/tags/toxicity/)
 *  [Advanced View](https://lij.wordpress.org/plugins/serious-toxic-comments/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/serious-toxic-comments/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/serious-toxic-comments/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/serious-toxic-comments/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/serious-toxic-comments/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/serious-toxic-comments/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/serious-toxic-comments/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/serious-toxic-comments/reviews/)

## Contributors

 *   [ Jordi Cabot ](https://profiles.wordpress.org/softmodeling/)
 *   [ seriouswp ](https://profiles.wordpress.org/seriouswp/)

## Supòrto

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/serious-toxic-comments/)