# Pre-emptively warning a contributor about the toxicity of their post

**URL:** <https://meta.discourse.org/t/pre-emptively-warning-a-contributor-about-the-toxicity-of-their-post/60357>\
**Category:** Feature\
**Created:** [03.Апрель.2017 09:04:40 UTC](https://meta.discourse.org/t/pre-emptively-warning-a-contributor-about-the-toxicity-of-their-post/60357 "2017-04-03T09:04:40Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [04.Апрель.2017 17:46:41 UTC](https://meta.discourse.org/t/pre-emptively-warning-a-contributor-about-the-toxicity-of-their-post/60357/4 "2017-04-04T17:46:41Z")

</div>

Yes, I am working on a machine learning plugin that will provide the infrastructure if you want to run a model to detect this kind of thing. If you want to take a look, the unfinished plugin is here:

[https://github.com/angusmcleod/discourse-machine-learning](https://github.com/angusmcleod/discourse-machine-learning)

But as Jeff points out, I’m not sure there are any decent machine learning models for this use case that would work better than a simple word blacklist.

That said, here’s a model that’s in the ballpark:

> **[Implementing a CNN for Text Classification in TensorFlow](https://dennybritz.com/2015/12/implementing-a-cnn-for-text-classification-in-tensorflow/)**
>
> Denny's Blog

---

_[View the full topic](https://meta.discourse.org/t/pre-emptively-warning-a-contributor-about-the-toxicity-of-their-post/60357)._
