Title: Serious Toxic Comments
Author: Jordi Cabot
Published: <strong>18 maijs, 2019</strong>
Last modified: 2 jūlijs, 2019

---

Meklēt spraudņus

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

Šī spraudnis **nav atjaunināts vairāk kā divus gadus**. Varbūt, tas vairs netiek
uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress
versijām.

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

# Serious Toxic Comments

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

[Lejupielādēt](https://downloads.wordpress.org/plugin/serious-toxic-comments.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/serious-toxic-comments/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/serious-toxic-comments/#reviews)
 *  [Uzstādīšana](https://lv.wordpress.org/plugins/serious-toxic-comments/#installation)
 * [Attīstība](https://lv.wordpress.org/plugins/serious-toxic-comments/#developers)

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

## Apraksts

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.

## Ekrānuzņēmumi

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

## Uzstādīšana

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

## BUJ

  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.

## Atsauksmes

![](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 jūnijs, 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

 [ Lasīt 1 atsauksmes ](https://wordpress.org/support/plugin/serious-toxic-comments/reviews/)

## Autori un izstrādātāji

“Serious Toxic Comments” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši
šādi cilvēki.

Līdzdalībnieki

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

[Tulkot “Serious Toxic Comments&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/serious-toxic-comments)

### Vai jūs interesē attīstība?

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/serious-toxic-comments/),
apmeklējiet[ SVN krātuvi ](https://plugins.svn.wordpress.org/serious-toxic-comments/)
vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/serious-toxic-comments/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/serious-toxic-comments/?limit=100&mode=stop_on_copy&format=rss).

## Izmaiņu žurnāls

#### 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

## Meta

 *  Versija **1.1.1**
 *  Pēdējo reizi atjaunots: **pirms 7 gadiem**
 *  Aktīvās instalācijas: **Mazāk par 10**
 *  WordPress versija ** 4.3 vai jaunāka **
 *  Pārbaudīts līdz: **5.2.24**
 *  PHP versija ** 5.6 vai jaunāka **
 *  Valoda
 * [English (US)](https://wordpress.org/plugins/serious-toxic-comments/)
 * Birkas:
 * [AI](https://lv.wordpress.org/plugins/tags/ai/)[comments](https://lv.wordpress.org/plugins/tags/comments/)
   [tensorflow](https://lv.wordpress.org/plugins/tags/tensorflow/)[toxic](https://lv.wordpress.org/plugins/tags/toxic/)
   [toxicity](https://lv.wordpress.org/plugins/tags/toxicity/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/serious-toxic-comments/advanced/)

## Vērtējumi

 5 no 5 zvaigznēm.

 *  [  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)

[Skatīt visas atsauksmes](https://wordpress.org/support/plugin/serious-toxic-comments/reviews/)

## Līdzdalībnieki

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

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/serious-toxic-comments/)