Skip to main content

Hatespeech NLP, EraseHateApp.com API Python library

Project description

Erase Hate Python Library: Library for the Erase Hate API!

This is the official Python library for interfacing with the EraseHateApp.com API. Erase Hate App allows users to perform Natural Language Processing and classification of text as ‘hateful’, ‘offensive’, or ‘neither’ through the use of ML and neural network deep learning. If users disagree with the model’s analysis, they may then reclassify an item choosing the classification they think is the best fit. Their reclassification data is then used in further continuous model training. Use this library to easily execute hate speech classification and perform many of the same functions available at EraseHateApp.com . Built for the purpose of allowing external Developers to integrate NLP into their own projects. Developers are strongly encouraged to submit any user reclassified data to the Erase Hate server, for use in model retraining.

Need data?

The Erase Hate Library also wraps the Twitter API, using the tweepymashup twitter library, to allow users the ability to source text data from Twitter keyword or user timeline searches.

When using the erasehateapp.com API, it is highly recommended to use this library

Data sent to the classification server, its results and any reclassification results are stored by erasehateapp.com for the purposes of improving the classification model. No personal information, or identifying information is stored.

Installation

The easiest way to install the latest version is by using pip/easy_install to pull it from PyPI:

pip install erasehate

You may also use Git to clone the repository from GitHub and install it manually:

git clone git@github.com:oblockton/Erase_Hate_Python_Library.git

cd Erase_Hate_Python_Library

python setup.py install

Python 3.5, 3.6, & 3.7 are supported.

Project details


Download files

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

Source Distribution

erasehate-1.1.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

erasehate-1.1.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file erasehate-1.1.0.tar.gz.

File metadata

  • Download URL: erasehate-1.1.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for erasehate-1.1.0.tar.gz
Algorithm Hash digest
SHA256 4c4b0ae572616657d9d32f3f32bfd63f2b7e4f0bca522657352b0f8b34c2bf40
MD5 cd491782907fbc047d3815741792902e
BLAKE2b-256 b1595a7dd29c3eda9bbfdacab857ec42f7a47c0a56720c74e236b421a90934b4

See more details on using hashes here.

File details

Details for the file erasehate-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: erasehate-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for erasehate-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f410b5d19e8fce3d09f8605106966a59a926236eecd5d9ac5783e662f3b5280f
MD5 6cb990cd6b16f567261952f3a90c227d
BLAKE2b-256 b3af8c272d60b574d23b69a67246a503b0afd60481dae4e5ed1c2887e9e2b243

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page