Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Identify insulting comments and users on social media

Project description

Insults
-----
TLDR: This project is very similar in functionality and purpose to Google's recent `Perspective API <https://www.perspectiveapi.com/>`_ project

Usage
````````````
Save in a hello.py:
.. code:: python
from insults import Insults

comment = "You are a disgusting maggot of a person."
Insults.load_model()
Insults.rate_comment(comment)

> 0.89

Install
`````````````````
And run it:
.. code:: bash
$ pip install insults

Links
`````
* `Perspective API website <https://www.perspectiveapi.com/>`_
* `Github Repo:
<https://github.com/thundergolfer/Insults>`_


Credit
``````
* `cbrew` <https://github.com/cbrew>`_ for their original data-science work in
`Imperium's Kaggle Competition` <https://www.kaggle.com/c/detecting-insults-in-social-commentary>`_. Code in `cbrew/Insults <https://github.com/cbrew/Insults`_

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
insults-0.1.12.tar.gz (22.8 MB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page