Title: Serious Toxic Comments
Author: Jordi Cabot
Published: <strong>18 mai 2019</strong>
Last modified: 2 juillet 2019

---

Recherche d’extensions

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

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

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

# Serious Toxic Comments

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

[Télécharger](https://downloads.wordpress.org/plugin/serious-toxic-comments.zip)

 * [Détails](https://fr.wordpress.org/plugins/serious-toxic-comments/#description)
 * [Avis](https://fr.wordpress.org/plugins/serious-toxic-comments/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/serious-toxic-comments/#installation)
 * [Développement](https://fr.wordpress.org/plugins/serious-toxic-comments/#developers)

 [Support](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.

## Captures d’écrans

[⌊Configuration settings for the plugin⌉⌊Configuration settings for the plugin⌉[

Configuration settings for the plugin

[⌊Example of a blocked comment⌉⌊Example of a blocked comment⌉[

Example of a blocked comment

## Installation

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

## FAQ

  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.

## Avis

![](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/) 2 juin 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

 [ Lire l’avis ](https://wordpress.org/support/plugin/serious-toxic-comments/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« Serious Toxic Comments » est un logiciel libre. Les personnes suivantes ont contribué
à cette extension.

Contributeurs

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

[Traduisez « Serious Toxic Comments » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/serious-toxic-comments)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/serious-toxic-comments/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/serious-toxic-comments/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/serious-toxic-comments/)
par [RSS](https://plugins.trac.wordpress.org/log/serious-toxic-comments/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 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**
 *  Dernière mise à jour **il y a 7 ans**
 *  Installations actives **Moins de 10**
 *  Version de WordPress ** 4.3 ou plus **
 *  Testé jusqu’à **5.2.29**
 *  Version de PHP ** 5.6 ou plus **
 *  Langue
 * [English (US)](https://wordpress.org/plugins/serious-toxic-comments/)
 * Étiquettes
 * [AI](https://fr.wordpress.org/plugins/tags/ai/)[comments](https://fr.wordpress.org/plugins/tags/comments/)
   [tensorflow](https://fr.wordpress.org/plugins/tags/tensorflow/)[toxic](https://fr.wordpress.org/plugins/tags/toxic/)
   [toxicity](https://fr.wordpress.org/plugins/tags/toxicity/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/serious-toxic-comments/advanced/)

## Évaluations

 5 sur 5 étoiles.

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

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

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

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

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