這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Serious Toxic Comments

外掛說明

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

This plugin uses a pre-trained toxic classifier from TensorFlow to classify a comment as toxic. See more technical details on the quality of the model here.

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.

螢幕擷圖

  • Configuration settings for the plugin
  • Example of a blocked comment

安裝方式

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

常見問題集

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.

使用者評論

2020 年 6 月 2 日
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
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Serious Toxic Comments〉的開發相關工作。

參與者

將〈Serious Toxic Comments〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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